Advertisement
B47CHGURU

db email extractor

Jul 29th, 2011
317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 2.10 KB | None | 0 0
  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;Database_Email_extractor _v1.0 Coded by B47CH GURU..!!                                  #
  3. ;Coded for Kishan patel on 29-06-2011                                                    #
  4. ;                                                                                        #
  5. ;STEPS:-                                                                                 #
  6. ;                                                                                        #
  7. ;first open yor sql dump in a text editor and edit the useless part such as the details  #
  8. ;part and save it in ascii format.                                                       #
  9. ;then change the respective lines in the source to that filename of the sql and log      #
  10. ;then run the script..!!                                                                 #
  11. ;you can contact me at http://www.facebook.com/daryl.varghese                            #
  12. ;or you can mail me at [email protected]                                          #
  13. ;----------------------------------------------------------------------------------------#
  14. ;To all script kiddies..... changing the "made by" headers wont make you the coder...!!  #
  15. ;Respect the coderz..!!!                                                                 #
  16. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  17.  
  18.  
  19.  
  20.  
  21.  
  22. #include <String.au3>
  23. #include <Array.au3>
  24. #include <file.au3>
  25. $file = InputBox("dump text file","the path to the edited sql dump")
  26. $file = FileOpen($file, 0)
  27. $file2 = InputBox("log file","the path to the log file")
  28. $file2 = FileOpen($file2, 1)
  29. $asd=' '
  30. $i=1
  31. $ip="sd"
  32. $r=1
  33. $as = "s"
  34.  
  35. While $as = "s"
  36.    
  37. $ip=FileReadLine ( $file , $r )
  38. If Not $ip Then ExitLoop
  39. If StringInStr($ip, ".com") Then
  40.     $asd=1
  41. Else
  42.     $asd=0
  43. EndIf
  44. While $asd=1
  45.    
  46. Do
  47.     $ip = StringTrimLeft($ip, StringInStr($ip, "'"))
  48.     $i=$i+1
  49.     Until $i=16
  50.  
  51. $i=1
  52. $array1 = _StringExplode($ip, ".com", 0)
  53.  
  54. FileWriteLine($file2,$array1[0] & ".com")
  55. ExitLoop
  56. WEnd
  57. $r=$r+1
  58. WEnd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement