Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- For this tutorial we are using a VPS - UBUNTU 14.04
- You need the following items installed on your VPS
- - PHPMyadmin
- - MySQL
- - Node version 0.12
- - Apache2
- For a detailed guide about this section can be found at csgo.network/support
- If you use our VPS package you will recieve a droplet where all of this comes pre-installed.
- -------------------------------------------------------------------------------------------------------------
- VPS CONFIGURATION :
- 1. Open PuTTY
- 2. Put your VPS IP address
- 3. Run , and click yes
- 4. Fill in root as username and put the password you recieved in your mail from digital ocean
- 5. Put your Password again
- 6. Choose a new password and confirm it
- 8. run these commands if you're using our VPS :
- apt-get update
- apt-get upgrade
- apt-get install apache2 -y
- apt-get install mysql-server php5-mysql
- (type y then press enter)
- !!!(When the pink screen pops up, create your MySQL password)!!!
- Repeat typing password
- mysql_install_db
- mysql_secure_installation
- (type your root password)
- !!!(Type y/n in the following order n , y , y , y , y)!!!
- apt-get install php5 libapache2-mod-php5 php5-mcrypt
- (type y then press enter)
- nano /etc/apache2/mods-enabled/dir.conf
- !!!(use arrow keys)!!!
- (move the "index.php" infront of the "index.html")
- (press control-x , y , enter)
- service apache2 restart
- apt-get install phpmyadmin
- (type y then press enter)
- !!!(press 'space' on apache2, press tab, enter)!!!
- (press enter, aka yes)
- (create password, repeat)
- service apache2 restart
- -
- phpmyadmin is now installed :)
- -
- sudo apt-get update
- curl -sL https://deb.nodesource.com/setup | sudo bash - (nodejs package contains the nodejs binary as well as npm, so you don't need to install npm)
- apt-get install nodejs -Y
- apt-get install build-essential
- ( apt-get install nodejs-legacy
- (press Y) )
- php5enmod mcrypt (site error <- + vvvvvvvv)
- // create bot folder in home ; cd /home/ (newBotFolderName)
- // inside bot folder
- apt-get install npm
- npm install node-fs
- npm install node-gyp
- npm install steamcommunity
- npm install fs
- npm install readline
- npm install fs
- npm install mathjs
- npm install mysql
- npm install obfuscator
- npm install onceler
- npm install request
- npm install socket.io
- npm install steam
- npm install steamcommunity
- npm install steamcommunity-mobile-confirmations
- npm install steam-totp
- npm install steam-tradeoffer-manager
- npm install steam-user
- ------------------------------------------------------------------------------------------------
- your done installing the server configurations.
- -------------------------------------------------------------------------------------------------------------
- http://pastebin.com/FUyCzfvc || leakforums.net/thread-721366
- (
- DocumentRoot /var/www/html
- <Directory "/var/www/html">
- AllowOverride All
- </Directory>
- )
- ------------------------------------------------------------------------------------------------------------------------------------------------
- Debian 7 users:
- Go to etc > apache2 > sites-available > default
- Open file with your favorite editor
- /etc/apache2/sites-available/default ( 000 ).conf
- <VirtualHost *:80>
- ServerAdmin webmaster@localhost
- DocumentRoot /var/www
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Directory /var/www/>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
- <Directory "/usr/lib/cgi-bin">
- AllowOverride None
- Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
- Order allow,deny
- Allow from all
- </Directory>
- ErrorLog ${APACHE_LOG_DIR}/error.log
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- </VirtualHost>
- Ubuntu 14.04LTS
- Activate the mod_rewrite module with
- sudo a2enmod rewrite
- and restart the apache
- sudo service apache2 restart
- To use mod_rewrite from within .htaccess files (which is a very common use case), edit the default VirtualHost with
- sudo nano /etc/apache2/sites-available/000-default.conf
- Search for “DocumentRoot /var/www/html” and add the following lines directly below:
- <Directory "/var/www/html">
- AllowOverride All
- </Directory>
- Save and exit the nano editor via CTRL-X, “y” and ENTER.
- Restart the server again:
- sudo service apache2 restart
- ------------------------------------------------------------------------------------------------------------------------------------------------
- ------------------------------------------------------------------------------------------------------------------------------------------------
- ------------------------------------------------------------------------------------------------------------------------------------------------
- WEBSITE CONFIGURATION :
- 1. Open your website ip address in your browser and head over to yourwebsiteip/phpmyadmin go to 3. if you use your own server not set up by us ( phpmyadmin part ) if we did your phpmyadmin then go to 2.
- 2. Please contact us on this point as we need to give you the mysql settings, if you host your VPS at us.
- 3. Head over to a FTP program, we highly recommend WinSCP
- 4. Connect to it with your details : IP , root , password , port22
- 5. Go on folder up, then go to var > www > html
- 6. Export the following files :
- - Defico.png
- - Link.php
- - Core.php
- - Endround.php
- - Steamauth > settings.php
- 7. edit all these files :
- -------------------------------------------------------------------------------------------------------------
- Defico.png : Replace with your own favicon
- -------------------------------------------------------------------------------------------------------------
- Link.php : Edit all your information. For the MySQL settings , use the login info for PHPMYADMIN
- The username and database is the same if we made your PHPMYADMIN database.
- so you get :
- MysQl host = "Localhost"
- username = root
- password = ...
- database = root
- -------------------------------------------------------------------------------------------------------------
- Core.php :
- - Title : This will be shown in the top left corner and in the browser tab aswell.
- Add both bot's Steam ID's and Trade URLs ( these are bot steamid64's which can be obtained at steamid.io )
- - Optional : Add social media links
- -------------------------------------------------------------------------------------------------------------
- Endround.php :
- - Set the secret code to something random so the site can't be abused this way. Remember the code, the bot should use the same one
- - Set your admin steam id 64 and trade link aswell
- -------------------------------------------------------------------------------------------------------------
- Steamauth > settings.php :
- - Fill in your API key from bot1 or bot2 ( doesn't matter )
- - Fill in the domain at domainname and loginpage
- -------------------------------------------------------------------------------------------------------------
- BOT CONFIGURATION
- Edit all the following items in bot > bot.js & bot2.js ( optional )
- Line 38: Api Key - Must be the API Key associated with the current bot. Get it here: https://steamcommunity.com/dev/apikey
- Line 45: Snipetimer - You can change the seconds before it gets declined.
- Line 36: Costpath - Dont change this.
- Line 32: Sitepath - The full path to index.php of your site without http://
- Line 34: Sitename - The name of your site, this will be shown in the bot's message to the winners
- Line 39: SteamID ( 64 ) of the admin, can send commands to the bot, ask for the rake, etc
- Line 40: BotSteamID ( 64 ) - The bot's steam ID, it is required to check for mobile confirmations
- Line 41: IdentitySecret - The identity_secret of the bot, it is required for mobile confirmations
- Line 42: SharedSecret = shared_secret of the bot's 2fa file, it's needed to generate the login code
- Line 43: pooling_interval - No need to change it
- Line 44: rsecret - Change it to the same code you put to p2endround.php and endround.php
- Line 49: p2 - set it to true if this bot is for pot 2, set it to false if it's for pot 1. One bot should have this as true and the other as false.
- Line 55 : Put your bot details like this :
- "accountName" : "hereyoutype",
- "password" : "hereyoutype",
- Line 70 : Fill in your MySQL Settings again
- ------------------------------------------------------------------------------------------------------------
- Time to configurate the 2 codes you have to fill in so your bot is compitable with Steam ESCROW.
- We are looking for the Identity_Secret and Shared_Secret
- MAKE SURE BEFORE YOU DO THIS MOBILE AUTHENTICATOR IS TURNED OFF ON YOUR BOT AND THAT THERE IS NO PHONE NUMBER ADDED.
- Method 1 : SDA ( Steam Desktop Authenticator )
- 1. Open Steam Desktop Authenticator.exe located in Steam.Desktop.Authenticator.v1.0.0
- 2. Click you want to sign up for a new account
- 3. Go through all the steps
- 4. Go to the folder Steam.Desktop.Authenticator.v1.0.0 , and go to the map called maFiles and open yourbotssteami64 file with notepad++
- 5. Search for the Shared_Secret and the identity_secret , copy these codes.
- 6. Go to sell.js and paste them on line 6 and 7
- -------------------------------------------------------------------------------------------------------------
- MAKE SURE BEFORE YOU DO THIS METHOD MOBILE AUTHENTICATOR IS TUNRED OFF AND THAT YOU HAVE !!!!! ADDED YOUR PHONE NUMBER.
- Method 2:
- Download Winauth at Winauth.com
- 1. Click add
- 2. Choose Steam
- 3. username & password
- 4. Follow all the steps
- 5. When its all configured , right mouse click on the section, doesnt matter where.
- 6. Choose show steam data and recovery code
- 7. allow copy
- 8. get the secret and identity code
- NEVER USE PROTECTION WITH THIS METHOD !
- -------------------------------------------------------------------------------------------------------------
- MAKE SURE BEFORE YOU DO THIS MOBILE AUTHENTICATOR IS TURNED OFF ON YOUR BOT AND THAT THERE IS NO PHONE NUMBER ADDED.
- Method 3: 2fa
- 1. Download NODE.JS at https://nodejs.org/en/
- 2. open Command prompt > run > command prompt
- 3. type in npm in command prompt
- 4. then type this single commands :
- npm install steamcommunity
- npm install fs
- npm install readline
- --------------------------------------------------------------
- Steam section :
- 1. Go to your bots steam account
- 2. Go to account details
- 3. add phone number
- 4. Put your phone number and copy the code you got and paste it on your desktop in a notepad file DONT PUT IT ON STEAM YET
- ---------------------------------------------------------------
- go to the 2fa folder located in the bot folder and copy the folder path
- in my example : C:\Users\MICHAEL\Desktop\2fa
- type in command prompt cd C:\Users\MICHAEL\Desktop\2fa ( your path ofcourse )
- type in command prompt node 2fa.js
- It will ask for username : put your bots login
- password : bots password
- then you will get a mail on your bots email account. get the code and fill it in.
- Then it will ask for an activation code , get the code from your notepad and put it at the activation code.
- press enter a few times.
- mark the whole cmd
- and copy it and paste it in a notepad.
- Get the identity_secret and shared_secret
- After this you can run your bot by typing your path to the bot folder, cd /
- or at our vps : cd /var/www/bot
- then type node bot1.js or node bot2.js // cfbot.js
- -------------------------------------------------------------------------------------------------------------
- Commands for the bot :
- /code : gives code to access the bot.
- /sendrake : Send rake to you.
- /end : End the pot.
- /cc : The bot will immediately check if there are any trades waiting for mobile confirmations. Mostly for debug.
- /poll :The bot will immediately check if there are any incoming trade offers. Mostly for debug purposes.
- /sendoffers : sends offers.
- -------------------------------------------------------------------------------------------------------------
- Your bot will automatically add a CSGO.Network authenticator Steam account. This is for security reasons to check your website license.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement