Advertisement
YeiZeta

FacebookBomber[phython]

Sep 29th, 2012
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. #!user/bin/python
  2. #Coded Just For Fun
  3. from urllib import urlretrieve
  4. import imp
  5. import os, time
  6. if os.name == 'nt':
  7. os.system('cls')
  8. else:
  9. os.system('clear')
  10.  
  11. def flower():
  12. print "\n\n[+] Gathering Roses And Tulips...\n"
  13. urlretrieve('https://raw.github.com/gist/1194123/fbconsole.py', '.fbconsole.py')
  14. fb = imp.load_source('fb', '.fbconsole.py')
  15. fb.AUTH_SCOPE = ['publish_stream']
  16. try:
  17. fb.authenticate()
  18. except Exception as e:
  19. print e
  20. try:
  21. mess = raw_input("\n#> Enter The Message: ")
  22. count = input("#> Enter the Posting Count: ")
  23. idp = raw_input("#> Enter The ID (frnds/groups): ")
  24. idn = int(idp)
  25. feed = "/%d/feed" %(idn)
  26. limit=1
  27. except KeyboardInterrupt:
  28. print "\n[Interrupted]"
  29. raw_input("\n[!]Press Any Key To Exit")
  30. #break
  31. sleep = []
  32. for i in (0, count+1, 50):
  33. sleep.append(i)
  34. try:
  35. try:
  36. while limit != count+1:
  37. if limit in sleep:
  38. print "[!] 50 Flowers Has Been Sent, I Am Going To sleep For 30 Seconds"
  39. time.sleep(30)
  40. status = fb.graph_post(feed, {"message":mess})
  41. print "[!] Sending Flowers.... %d" %(limit)
  42. limit +=1
  43.  
  44. except KeyboardInterrupt:
  45. print "\n[!] Sending Flowers Aborted"
  46. except Exception as e:
  47. print e
  48. print "[!] Flowers Sent"
  49.  
  50. except Exception as e:
  51. print e
  52.  
  53.  
  54. banner = '''
  55. ___________.__ .__
  56. \_ _____/| | ______ _ __ ___________|__| ____ ____
  57. | __) | | / _ \ \/ \/ // __ \_ __ \ |/ \ / ___\
  58. | \ | |_( <_> ) /\ ___/| | \/ | | \/ /_/ >
  59. \___ / |____/\____/ \/\_/ \___ >__| |__|___| /\___ /
  60. \/ \/ \//_____/
  61. '''
  62. print banner
  63. print "\n\n[+] Send Flowers To Groups Or Friends And Frustrate Them"
  64. print "\nI Need To Take The Access Token, Hence I Will Login To Facebook "
  65. while True:
  66. res = raw_input("\nProceed(yes/no)? ")
  67. res = res.split(" ")
  68. if res[0].lower()=='no':
  69. print "#> No Probs, Bye"
  70. raw_input("[!] Press Any Key To Exit")
  71. break
  72. else:
  73. flower()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement