forked from ChromeUniverse/RedstoneBot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Requests & Network Sniffing Analysis
- Loading branch information
1 parent
199ebcd
commit 7642000
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
---- PloudOS Requests & Network Sniffing Analysis ---- | ||
|
||
* Use persistent sessions with Python + Requests | ||
|
||
* TO LOGIN: POST request to Login URL with payload: | ||
|
||
* Login URL: https://ploudos.com/login | ||
|
||
* Payload: | ||
{ | ||
'username': Username | ||
'password': Password | ||
|
||
} | ||
|
||
* TO GET SERVER STATUS: GET request to API endpoint | ||
|
||
* API Endpoint: https://ploudos.com/manage/(s + serverID)/ajax2 | ||
|
||
|
||
* TO ACTIVATE SERVER | ||
|
||
* TO GET SERVER LOCATION: GET request to location service | ||
|
||
* Request URL: https://ploudos.com/manage/(s + serverID)/ajax2/location | ||
|
||
* TO SELECT LOCATION: GET request to Queue URL with selected location | ||
|
||
* Queue URL: https://ploudos.com/manage/(s + serverID)/ajax2/x | ||
|
||
* Additional parameters: x -> selected server | ||
|
||
* x = 1 -> Nuremberg, Germany | ||
* x = 2 -> St. Louis, USA |