Quantcast
Channel: Penetration Test – Security List Network™
Viewing all articles
Browse latest Browse all 1152

google_socks A proof of concept demonstrating the use of Google Drive for command and control.

$
0
0

google_socks The script starts up a Python socket object, and each set of new data from the socket is pushed to drive as a new file of a specific name. Each script knows what files to read due to their names.

google_socks

Performance Tip:
+ Use Linux For Run this script for worked well.
+ If you need to send data as fast as possible, set no polling (-P 0) or jitter (-j 0). If you get an error from going over the API rate limit, try raising your polling time little by little until you find a sweetspot. I found .2 seconds worked well.

Use and download:

git clone https://github.com/lukebaggett/google_socks && cd google_socks
pip2 install google-auth google-auth-oauthlib google-auth-httplib2 python-dateutil google-api-python-client
python google_socks.py -h

Source: https://github.com/lukebaggett | https://www.blackhillsinfosec.com/


Viewing all articles
Browse latest Browse all 1152

Trending Articles