Python Simple Auto Surfer (PySAS)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
PySAS.png
README.md
pysas.py
pysas_conf.py
urls.txt

README.md

PySAS

Python Simple Auto Surfer

Features

  • Supports native browser(simple get requests)
  • Supports Mozilla Firefox
  • Supports Google Chrome
  • ..(read below)

Requirements

  • Python 2.7
  • psutil
  • requests (for native browser)

Get PySAS

cd
git clone https://github.com/dzmodest/pysas.git && cd pysas

Configuration

input/output settings
urls="urls.txt"
urls_tmp="urls_tmp.txt"
tmp_dir="tmp/"
browser settings
firefox_bin="/usr/bin/firefox" #firefox_bin="C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe"
firefox_params="--window-size=50,100"

chrome_bin="/opt/google/chrome/google-chrome" #chrome_bin="C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe"
chrome_params="--incognito"
surfing settings
open_x_site_at_the_same_time=2
open_sites_each_x_seconds=15
wait_y_seconds_before_closing_x_sites=4 # 0 to keep 
init_time=10

Usage

python pysas.py [native/firefox/chrome]

Examples

Firefox/Chrome (First run)

sh-4.3# python pysas.py chrome

Python Simple Auto Surfer: by abdelhafidh.com

Loop for ? times: 1
============================SETTINGS============================
Browser: Chrome
Open x site at the same time: 2
Open sites each ? seconds: 15
Wait ? seconds before closing x sites: 4
Loop ? times: 1
Init time: 10
================================================================
[+] New Process
[+] Adding to queue: http://stackoverflow.com/
[+] Adding to queue: https://github.com/dzmodest/pysas/
[i] Surfing now: 2	Batch: 1/1	Elapsed Time: 20 seconds

Firefox/Chrome (Second run == Multiprocessing)

sh-4.3# python pysas.py chrome

Python Simple Auto Surfer: by abdelhafidh.com

Loop for ? times: 1
============================SETTINGS============================
Browser: Chrome
Open x site at the same time: 2
Open sites each ? seconds: 15
Wait ? seconds before closing x sites: 4
Loop ? times: 1
Init time: 10
================================================================
[i] Warning an existing tmp file has been found. Presume Multiprocessing
[+] Adding to queue: http://abdelhafidh.com/
[+] Adding to queue: https://instagram.com/
[i] Surfing now: 4	Batch: 1/1	Elapsed Time: 21 seconds

Native (With loops)

sh-4.3# python pysas.py native

Python Simple Auto Surfer: by abdelhafidh.com

Loop for ? times: 2
============================SETTINGS============================
Browser: native
Open x site at the same time: 2
Open sites each ? seconds: 15
Wait ? seconds before closing x sites: 4
Loop ? times: 2
Init time: 10
================================================================
[+] New Process
[i] Warning Multiprocessing is not supported while loops>1
[+] Adding to queue: https://www.youtube.com/
[+] Adding to queue: http://stackoverflow.com/
[+] Adding to queue: https://twitter.com/
[+] Adding to queue: http://abdelhafidh.com/
[+] Adding to queue: https://github.com/dzmodest/pysas/
[+] Adding to queue: https://instagram.com/
[+] Adding to queue: https://twitter.com/
[+] Adding to queue: https://github.com/dzmodest/pysas/
[+] Adding to queue: http://stackoverflow.com/
[+] Adding to queue: https://www.youtube.com/
[+] Adding to queue: http://abdelhafidh.com/
[+] Adding to queue: https://instagram.com/
[i] Surfing now: 1	Batch: 2/2	Elapsed Time: 35 seconds
[*] We are done.

Testing on Windows

Testing on Windows Video

Contributors

made with ❤️ by abdelhafidh.com

License

Python Simple Auto Surfer is released under General Public License v3.0.