https://github.com/shayanb/21russian_roulette
Russian roulette: You might expose your WIFI ssid and password
https://github.com/shayanb/21russian_roulette
Last synced: over 1 year ago
JSON representation
Russian roulette: You might expose your WIFI ssid and password
- Host: GitHub
- URL: https://github.com/shayanb/21russian_roulette
- Owner: shayanb
- Created: 2015-11-22T07:42:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-22T23:02:51.000Z (over 10 years ago)
- Last Synced: 2025-01-21T19:45:30.970Z (over 1 year ago)
- Language: Python
- Size: 21.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[Russian Roulette](https://en.wikipedia.org/wiki/Russian_roulette)
============================
Summary: Randomly sends a file from the server file system, one of which is wifi config file (/etc/wpa_supplicant/wpa_supplicant.conf) which contains SSID and the PASSWORD
Running the server
------------------
$ python3 russianroulette-server.py
Running the client (and pull the trigger)
-------------------
wget https://goo.gl/2cEQ1e -O russianroulette-client.py ; python3 russianroulette-client.py shoot
API;
1. Get info
--------------
HTTP URI: /
Params: None
Result:
|^\ _________________/\_
|~~~|--------------~~~~~~~~~~~~~~~~,xx.~~~~~~~~\
|___|-------++++==|___|~~~~~|_____(x@x),;'// ||
|~~~|| |~~~~~~~~~~~ // ||
~\(_(=)~~ ,-~-\ \ __/
~~~~~\[ \ ]\ \/
`: |'() \
~~~~\ \ \
\ \ \
\ \ \
\ \ \
\ \ ||
| \ ||
| \_ ___||
\____( )-=~
{
"description": "I can lose my wifi ssid and password",
"name": "Russian Roulette",
"pricing": {
"/shoot": {
"minimum": 1313
}
},
"version": 101
}
Pricing:
Free
2. Pull the Trigger
--------------
HTTP URI: /shoot
Params: None
Result:
[Content of the chosen file]
Pricing:
1313
TODO:
-----
* add more random stuff
* reboot the machine if shot?
* reboot the client if shot?