EG Information

Main Index
EG Manual
Disclaimer
Legal Information
Hall of Fame
Hall of Shame
Member Rankings
Members List
Meet the Staff
Hacker's Home Page

Training Missions

Read Me First
Basic Skills
Realistic Scenarios
Cryptography
Software Cracking
Linux ELF Binary Cracking
Logical Thinking
Programming
Captcha Cracking
Patching
Steganography
Deface This Wall
/dev/null
/dev/urandom
/dev/extra

Knowledge Bank

Discussion Forums
Exploit Database New
PasteBin New
RSS Feeds RSS
Articles / Tutorials
Videos
Online EG MP3 Player Radio
Downloads
Tools

Code Resources

Submit Code
Ajax
ASM
Bash
C
CPP
Csharp
Delphi
Haskell
Java
Javascript
Jython
Lisp
mIRC
MySQL
Perl
PHP
Python
QBASIC
VisualBasic

Pimp Us Out!

Review enigmagroup.org on alexa.com

Has Enigma Group Helped You? Then Help Us By Advertising For Us. Place One Of The Following Images On Your Site And Create A Link Back To Enigma Group.

Enigma Group

Enigma Group

Enigma Group

Enigma Group

 

Affiliates

hackhound.org

suck-o.com

hack.org.za

flyninja.net

 

Enigma Group's Code Bank


ToolKit

By: blackhat11907  -  Date Submitted: 2011-02-04 02:08:01

  1. #!/usr/bin/perl
  2.  
  3. ##################################################################
  4. # #
  5. #Programmer: Brandon Dennis #
  6. #Date: 2/2/2011 #
  7. #This is a toolkit for multiple uses will keep it updated as #
  8. #as i possibly can (first script i ever made) #
  9. # #
  10. ##################################################################
  11.  
  12. $exit = 0;
  13.  
  14. $input = "";
  15.  
  16. $target = "";
  17.  
  18. $filename = "";
  19. $filepath = "";
  20. $fileinfo = "";
  21. $fileexit = 0;
  22. $fileanswer = "";
  23.  
  24. $readfilename = "";
  25. $readfilepath = "";
  26. $readerror = 0;
  27. $readdata= "";
  28.  
  29. print "Welcome to Blackhat's Toolkit\n\n";
  30.  
  31. do {
  32. print 'root$\- ';
  33. $input = <STDIN>;
  34. chomp($input);
  35.  
  36. if($input =~ /exit/)
  37. {
  38. &exitprog;
  39. }elsif($input =~ /file/)
  40. {
  41. &file;
  42. }elsif($input =~ /read/)
  43. {
  44. &readfile;
  45. }elsif($input =~ /ping/)
  46. {
  47. &ping;
  48. }elsif($input =~ /traceroute/)
  49. {
  50. &traceroute;
  51. }elsif($input =~ /help/)
  52. {
  53. &help;
  54. }elsif($input =~ /clear/)
  55. {
  56. &clear;
  57. }else
  58. {
  59. print 'You have entered a incorrect command please type help for commands';
  60. print "\n";
  61. }
  62. }while ($exit == 0);
  63.  
  64.  
  65.  
  66. sub help
  67. {
  68. print "1) help (Shows List Of All Commands Avalible)\n";
  69. print "2) file (Use This To Create A File And Write To It)\n";
  70. print "3) read (Use This To Print Out The Contence Of A File)\n";
  71. print "4) ping (Use This To Ping A Website For Its Ip)\n";
  72. print "5) traceroute (Use This To Find All Of the Hops Between You And The Target)\n";
  73. print "6) clear (Use This To Clear The Screen)\n";
  74. print "7) exit (Closes The Program)\n";
  75. }
  76.  
  77. sub file
  78. {
  79. print 'Enter Path To Location To Create File If Default (root) Leave Blank: ';
  80. $filepath = <STDIN>;
  81. chomp($filepath);
  82. if($filepath == //)
  83. {
  84. system('cd /root/');
  85. }else
  86. {
  87. system("cd $filepath");
  88. }
  89. print 'Enter File Name To Create And Write To: ';
  90. $filename = <STDIN>;
  91. chomp($filename);
  92. if($filename)
  93. {
  94. open (FILE, ">$filename" || die "Could Not Open File");
  95.  
  96. print 'Enter Text To Add To The File (You Can Use \n \t etc..): ';
  97. $fileinfo = <STDIN>;
  98. chomp($fileinfo);
  99. print FILE "$fileinfo\n";
  100.  
  101. while($fileexit == 0 )
  102. {
  103. print 'Would You Like To Add More Text [y/n]: ';
  104. $fileanswer = <STDIN>;
  105. chomp($fileanswer);
  106. if($fileanswer =~ /y/)
  107. {
  108. $fileinfo = <STDIN>;
  109. chomp($fileinfo);
  110. print FILE "$fileinfo\n";
  111. }elsif($fileanswer =~ /n/)
  112. {
  113. $fileexit = 1;
  114. }else
  115. {
  116. print "Please Enter A y Or n\n";
  117. }
  118.  
  119. }
  120. close (FILE);
  121. }else
  122. {
  123. print "Error No File Name Set!\n";
  124. }
  125. }
  126.  
  127. sub readfile
  128. {
  129. print 'Please Enter A Path To The File You Wish To Read From: ';
  130. $readfilepath = <STDIN>;
  131. chomp($readfilepath);
  132. system("cd $readfilepath");
  133.  
  134. print 'Please Enter The File Name You Wish To Read From: ';
  135. $readfilename = <STDIN>;
  136. chomp($readfilename);
  137.  
  138. open (FILE, "<$readfilename" || die "Could Not Open File");
  139. while(<FILE>)
  140. {
  141. print "$_\n";
  142. }
  143. close (FILE);
  144. }
  145.  
  146. sub ping
  147. {
  148. print 'Enter Target URL: ';
  149. $target = <STDIN>;
  150. chomp($target);
  151. system("ping $target -c 5");
  152. }
  153.  
  154. sub traceroute
  155. {
  156. print 'Enter Target URL: ';
  157. $target = <STDIN>;
  158. chomp($target);
  159. system("tracert $target");
  160. }
  161.  
  162. sub clear
  163. {
  164. system('clear');
  165. }
  166.  
  167. sub exitprog
  168. {
  169. print "Thank You For Using Blackhat's Toolkit\n";
  170. $exit = 1;
  171. return $exit;
  172. }
  173.  
  174.  
Return to perl category list

Who Visited EnigmaGroup Today?

1388 Guests, 226 Users (217 Spiders)
Nightraven, lolzsec, interspirehost, lamb, cat1vo, Pabz, tgm001, plex, Edika, TheCheeseDemon, rockcraft, recoveryToolbox, saraf, soufiaane, sickmind, mjneat, famous0123, Galagatron, dark_void, CJ_Omaha, junaid_junaid59, JohnJohnJohn, ssmaslov, psychomarine, Dregoon, Patrickk, Aska, Beat_Slayer, M0rdak, Ausome1, Imre, Vreality2007, mmndglxuwn, m0rt, unholyblood, iterrumzz, VurbTrurb, Mayonoula, MAMWOURBROR, mutabor, gobinda, cossyDrybrich, Razin, zaCruBumas8, hunja, johny34, pantoufle, bagy, arctica, hackarchives, UsedDeteKef, Peculator, Fadhilat606, TheTrueMonarch, Pascall01, hackaday, Tjm, arndevil, flairvelocity, lol, alphbond, kdivanov, elizbethallis6, Rik, bn11, BorgBot, SHASHANK101hello, 4poc4lyptic, ksajxai, nbmorri1, electro-technic, شمالي عرعر, AutobotPrime, Underleaf, The End, tomtombomb, killobyte, snowgirlx, so_saucey, zerolife, Althor, Cramps, Hekser, Hyperborn, cyber-guard, jhgrunn, cobra, Partisan, MAZI_, cyborg, GenbreedX, moel77, cliptoX, pwnpwnlolz, letshavepie, Mrwormz, yshiau, mirmo, roozyoppomo, soft_devil, cls777, scoobywan, Reiversed, joshua, st3alth, Afrika, PaiffDryday, venter, Anthony12796, sh3llcod3, 8FIGURE, Rannim, Evil1, maloaboy, BACanON, SlayingDragons, Repuhlsive, IvanDimitriev, 1RiB, mzungudo, Micro_Geek, iMaxx, aciboummamymn, k0unterkulcher, somebody777, m14m16, GoododotAlcob, negasora, Rastii, UninueMem, Swifsolja, ad.conquest, ngolatkar, Infinity8, Jigoku, thesupervisor, p0is0n5ting, kernel_mod, AKL, GothicLogic, themastersinner, dnatrixene135, ChewBigRed, kalak55, sejem, cve916, pollolololo, triecturn, Violatedsmurf, Ops, jmp, xsiemich, generalisimo, strudels, ga3ttpom, KingOfBritains, epoch_qwert, suten, FriskyKat, Ryuske, Adonis Achilles, ubqbcdzzhf, 3vil, US£RNAM£, Weindittewcon, Batesheelocot, GSmyrlis, MaxMeier, Elite.America, rabbidmind, Psiber_Syn, phoenix22, imittyerrotte, peewster, cyberturtle, ctb, dexgeda, sdw, Pizza, White_widdow, devarian, finesse, Nature112091777, Danc7171, Alphadragon, Estadagause, 53QR10U5, Xargos, Alkomage, hardlock, Barry Gonzoles, MineDweller, Gkjt, N4g4c3N, [I]nfectedbug, wimsteege, aqr5zdcw, xin214, Bugshuppy, SnoopSky, Hessesian, voodooKobra, sKcarr, IROverRated, W1F1G3NJU75U, Baddy, ziadmosaan, gamble86, realzs, CruelDemon, Shinju, aVoid, aquiredanonymity, kukumumu, web_request, callmeneon, KissMyDAFFODIL, Feld Grau, Abhinav2107, prabhataditya, mbuyiselo, shumer, phenom216, princennamdi, huskyboiza, ninety-nine
 
Enigma Group