This is a csgo/steam report bot coded using python, to get it working you need to install some pakages:
pip install bs4
pip install requests
pip install pycryptodome
First of all you need Steam Accounts that have steam guard disabled (this code can not work with Steam Guard). Then you get the accounts and put them in the accounts.txt file.
-
make sure that the accounts are like USERNAME:PASSWORD this is important for the code to work!!
-
This code works fine on windows, but if you want it to work on linux you need to change os.system('cls') to os.system('clear')
-
Its better to put the steam accounts into a database to make it easy to manage.
git clone https://github.com/den0un/CsgoReportBot.git
cd CsgoReportBot
python3 main.py
Basically the script logins to steam and make the report operation all of that using requests library.
- This report bot is not that efficient, it is made using webscraping with python. I just made it to test my skills at python and to learn websraping. i explained how it works down below in case someone wants to develop it more. Enjoy!
The steam login process consists of 2 urls
1- https://steamcommunity.com/login/getrsakey/ to get the RSA Key for password encryption.
2- https://steamcommunity.com/login/dologin/ its for loging in, it needs a username and an encrypted password and some other form data.
To start reporting we need the Victim's ID, so we get it from his profile using beautifulsoup library.
the report process consists of 3 urls, those url's are the steps of reporting from the main profile page, which are:
1- Clicking On Report Player https://steamcommunity.com/actions/ReportProfile/
2- Choosing They are cheating in a game https://steamcommunity.com/actions/AjaxGetReportProfileStep/
3- Submiting the report https://steamcommunity.com/actions/ReportAbuse/ with a discription and a game to choose (AppID).