Snow_Flake

Skype Resolver

Aug 9th, 2014
684
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /*
  2. Skype Username Resolver
  3. -------------------------------------
  4.  
  5. Author: HallerBoyo
  6. http://www.hackforums.net/member.php?action=profile&uid=2118178
  7. http://www.autohotkey.com/board/user/21149-flow-snake/
  8.  
  9. Script: Skype Resolver.ahk v2.0
  10.  
  11. Test computer: Windows 7
  12. License: WTFPL  http://www.wtfpl.net/txt/copying/ 2014-01-23 02:33
  13. AHK Version tested on:  AHK_L v1.1.14.01 x64 Unicode
  14.  
  15. API Used: http://skype.freedumbs.net/api/
  16.  
  17.  
  18. ======================
  19. Version history of Skype Resolver
  20. ======================
  21.  
  22. Below you find a list with the added features, changes and fixes for
  23. each version.
  24.  
  25. *Fixed = Fixed a bugg/small issue.
  26. *Enchanted = Made/make something better.
  27. *bugg = A bugg thet have not yet been fixed.
  28.  
  29. Version: 2.0
  30. ---------------
  31.  
  32. - Fixed: Removed URLDownloadToFile and replaced with Req.Open("GET", _url).
  33.  
  34. - Enchanted: Improved th GUI and added #SingleInstance, force, | SetWorkingDir, %A_ScriptDir%.
  35.  
  36. - Bugg: Found a bugg opening multipay taps/instances with Firefox.
  37.  
  38. - New feature:  Added a new tray icon
  39.  
  40. Version: 1.8
  41. ---------------
  42.  
  43. - Fixed: Removed URLDownloadToFile and replaced with Req.Open("GET", _url).
  44.  
  45. - Enchanted: made the core alot shorter and more flexible.
  46.  
  47. Version: 1.5
  48. ---------------
  49.  
  50. - Fixed: Removed the MsgBox and replaced it with Google chrome for better debugg testing.
  51.  
  52. - New feature: Added URLDownloadToFile so it could download the IPs.
  53.  
  54.  
  55. Version: 1.0
  56. ---------------
  57.  
  58. - New feature: Added the main code and  a very simple GUI.
  59.  
  60. - New feature: Added an MsgBox to show the output of _address so i could debugg it.
  61.  
  62. Version: 0.5 alpha
  63. ---------------
  64.  
  65. - written from scratch, tested, added the IPs manuelly to be able to get the RegExMatch right.
  66.  
  67.  
  68. */
  69.  
  70. SetWorkingDir, %A_ScriptDir%
  71. #SingleInstance, force
  72.  
  73.  
  74. Gui, Add, Edit, x23 y30 w190 h20 vSID,
  75. Gui, Add, Button, x68 y70 w100 h30 , Resolve
  76. Gui, Font, S8 Cblue, Verdana
  77. Gui, Add, Text, x68 y10 w100 h20 , Skype Username
  78.  
  79. Gui +LastFound +AlwaysOnTop
  80. Gui, Show, w241 h130, Skype Resolver V2.0
  81. return
  82.  
  83.  
  84. GuiClose:
  85. ButtonOK:
  86. Gui, Submit
  87.  
  88. hStack := GetArray( "http://skype.freedumbs.net/api/" SID )
  89.  
  90. While p:=RegExMatch( hStack, "{`""(?<type>.*?)`""[\h:]+`""(?<address>.*?)`""}",_, !p?1:StrLen(_)+p)
  91. {
  92.     Run, % "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe http://www.ip-adress.com/ip_tracer/" _address
  93. }
  94.  
  95. Exitapp
  96.  
  97. GetArray( _url )
  98. {
  99.     Req:= ComObjCreate("WinHttp.WinHttpRequest.5.1")
  100.     Req.Open("GET", _url), Req.Send()
  101.  
  102.     Return Req.ResponseText
  103. }
Advertisement
Add Comment
Please, Sign In to add comment