{"id":21241543,"url":"https://github.com/shayanb/21russian_roulette","last_synced_at":"2025-03-15T04:10:26.183Z","repository":{"id":142760383,"uuid":"46651187","full_name":"shayanb/21Russian_roulette","owner":"shayanb","description":"Russian roulette: You might expose your WIFI ssid and password","archived":false,"fork":false,"pushed_at":"2015-11-22T23:02:51.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T19:45:30.970Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shayanb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-22T07:42:28.000Z","updated_at":"2015-11-22T07:43:14.000Z","dependencies_parsed_at":"2023-03-14T23:10:53.658Z","dependency_job_id":null,"html_url":"https://github.com/shayanb/21Russian_roulette","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shayanb%2F21Russian_roulette","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shayanb%2F21Russian_roulette/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shayanb%2F21Russian_roulette/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shayanb%2F21Russian_roulette/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shayanb","download_url":"https://codeload.github.com/shayanb/21Russian_roulette/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243681078,"owners_count":20330156,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T00:56:09.189Z","updated_at":"2025-03-15T04:10:26.156Z","avatar_url":"https://github.com/shayanb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n[Russian Roulette](https://en.wikipedia.org/wiki/Russian_roulette)\n============================\n\nSummary:  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\n\n\nRunning the server\n------------------\n\n\t$ python3 russianroulette-server.py\n\n\nRunning the client (and pull the trigger)\n-------------------\n\n\twget https://goo.gl/2cEQ1e -O russianroulette-client.py ; python3 russianroulette-client.py shoot\n\n\nAPI;\n\n1. Get info\n--------------\n\nHTTP URI: /\n\nParams: None\n\nResult:\n\n\t  |^\\                      _________________/\\_\n\t |~~~|--------------~~~~~~~~~~~~~~~~,xx.~~~~~~~~\\\n\t|___|-------++++==|___|~~~~~|_____(x@x),;'//  ||\n\t                  |~~~||    |~~~~~~~~~~~ //   ||\n\t                   ~\\(_(=)~~ ,-~-\\       \\  __/\n\t                      ~~~~~\\[  \\ ]\\       \\/\n\t                            `:  |'()       \\\n\t                              ~~~~\\ \\       \\\n\t                                   \\ \\       \\\n\t                                    \\ \\       \\\n\t                                     \\ \\       \\\n\t                                      \\ \\       ||\n\t                                       | \\       ||\n\t                                       |  \\_  ___||\n\t                                       \\____( )-=~\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t \n\t{\n\t    \"description\": \"I can lose my wifi ssid and password\",\n\t    \"name\": \"Russian Roulette\",\n\t    \"pricing\": {\n\t        \"/shoot\": {\n\t            \"minimum\": 1313\n\t        }\n\t    },\n\t    \"version\": 101\n\t}\n\nPricing:\n\n\tFree\n\n\n2. Pull the Trigger\n--------------\n\nHTTP URI: /shoot\n\nParams: None\n\nResult:\n\n\t[Content of the chosen file]\n\nPricing:\n\n\t1313\n\n\nTODO:\n-----\n* add more random stuff\n* reboot the machine if shot?\n* reboot the client if shot?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshayanb%2F21russian_roulette","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshayanb%2F21russian_roulette","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshayanb%2F21russian_roulette/lists"}