This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import optparse | |
import sys | |
import mechanize | |
import cookielib | |
banner = """ | |
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,::::,,,:,,,,:,,::,:::,,:,,,:::::::: | |
,,,,,,,,,,,,,,,,,,,,,,,,,,,,=~:,,,,,,:=~,,,,:=:,,,,,,,,,,,::::,,::,,,,,::::::,,, | |
,,,,,,,,,,,,,,,,,,,,,,:,,,,:$+:,,,,,,=7=,,:,=$~,,,,,,,,,,,,,,,,,,,::,,,,,,,,,,,, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
a graph API script to press like on all statuses posted by target user | |
""" | |
import requests # Use 3rd party request module for http request. | |
import json | |
import time | |
""" | |
search for your target user name in desktop version facebook. | |
when you press enter, you could see URL like https://www.facebook.com/profile.php?id=##############&fref=ts for a while |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat > /tmp/handler.sh | |
#! /bin/bash | |
echo auth_ok:1 | |
echo uid:42 | |
echo gid:21 | |
echo dir:/tmp | |
echo end | |
^D | |
$ chmod +x /tmp/handler.sh |