Advertisement
Guest User

Csgo bet installation B-Jonn

a guest
Nov 30th, 2016
455
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.26 KB | None | 0 0
  1. For this tutorial we are using a VPS - UBUNTU 14.04
  2.  
  3. You need the following items installed on your VPS
  4.  
  5. - PHPMyadmin
  6. - MySQL
  7. - Node version 0.12
  8. - Apache2
  9.  
  10. For a detailed guide about this section can be found at csgo.network/support
  11. If you use our VPS package you will recieve a droplet where all of this comes pre-installed.
  12.  
  13. -------------------------------------------------------------------------------------------------------------
  14.  
  15. VPS CONFIGURATION :
  16.  
  17. 1. Open PuTTY
  18. 2. Put your VPS IP address
  19. 3. Run , and click yes
  20. 4. Fill in root as username and put the password you recieved in your mail from digital ocean
  21. 5. Put your Password again
  22. 6. Choose a new password and confirm it
  23. 8. run these commands if you're using our VPS :
  24.  
  25. apt-get update
  26. apt-get upgrade
  27. apt-get install apache2 -y
  28.  
  29. apt-get install mysql-server php5-mysql
  30. (type y then press enter)
  31. !!!(When the pink screen pops up, create your MySQL password)!!!
  32. Repeat typing password
  33.  
  34. mysql_install_db
  35.  
  36. mysql_secure_installation
  37. (type your root password)
  38. !!!(Type y/n in the following order n , y , y , y , y)!!!
  39.  
  40. apt-get install php5 libapache2-mod-php5 php5-mcrypt
  41. (type y then press enter)
  42.  
  43. nano /etc/apache2/mods-enabled/dir.conf
  44. !!!(use arrow keys)!!!
  45. (move the "index.php" infront of the "index.html")
  46. (press control-x , y , enter)
  47.  
  48. service apache2 restart
  49. apt-get install phpmyadmin
  50. (type y then press enter)
  51. !!!(press 'space' on apache2, press tab, enter)!!!
  52. (press enter, aka yes)
  53. (create password, repeat)
  54.  
  55.  
  56. service apache2 restart
  57. -
  58. phpmyadmin is now installed :)
  59. -
  60. sudo apt-get update
  61.  
  62. 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)
  63. apt-get install nodejs -Y
  64. apt-get install build-essential
  65. ( apt-get install nodejs-legacy
  66. (press Y) )
  67.  
  68. php5enmod mcrypt (site error <- + vvvvvvvv)
  69.  
  70. // create bot folder in home ; cd /home/ (newBotFolderName)
  71. // inside bot folder
  72. apt-get install npm
  73. npm install node-fs
  74. npm install node-gyp
  75. npm install steamcommunity
  76. npm install fs
  77. npm install readline
  78. npm install fs
  79. npm install mathjs
  80. npm install mysql
  81. npm install obfuscator
  82. npm install onceler
  83. npm install request
  84. npm install socket.io
  85. npm install steam
  86. npm install steamcommunity
  87. npm install steamcommunity-mobile-confirmations
  88. npm install steam-totp
  89. npm install steam-tradeoffer-manager
  90. npm install steam-user
  91.  
  92. ------------------------------------------------------------------------------------------------
  93. your done installing the server configurations.
  94. -------------------------------------------------------------------------------------------------------------
  95. http://pastebin.com/FUyCzfvc || leakforums.net/thread-721366
  96.  
  97.  
  98. (
  99. DocumentRoot /var/www/html
  100. <Directory "/var/www/html">
  101. AllowOverride All
  102. </Directory>
  103.  
  104. )
  105.  
  106. ------------------------------------------------------------------------------------------------------------------------------------------------
  107.  
  108. Debian 7 users:
  109. Go to etc > apache2 > sites-available > default
  110. Open file with your favorite editor
  111.  
  112. /etc/apache2/sites-available/default ( 000 ).conf
  113.  
  114. <VirtualHost *:80>
  115. ServerAdmin webmaster@localhost
  116.  
  117. DocumentRoot /var/www
  118. <Directory />
  119. Options FollowSymLinks
  120. AllowOverride None
  121. </Directory>
  122. <Directory /var/www/>
  123. Options Indexes FollowSymLinks MultiViews
  124. AllowOverride All
  125. Order allow,deny
  126. allow from all
  127. </Directory>
  128.  
  129. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  130. <Directory "/usr/lib/cgi-bin">
  131. AllowOverride None
  132. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  133. Order allow,deny
  134. Allow from all
  135. </Directory>
  136.  
  137. ErrorLog ${APACHE_LOG_DIR}/error.log
  138.  
  139. # Possible values include: debug, info, notice, warn, error, crit,
  140. # alert, emerg.
  141. LogLevel warn
  142.  
  143. CustomLog ${APACHE_LOG_DIR}/access.log combined
  144. </VirtualHost>
  145.  
  146. Ubuntu 14.04LTS
  147. Activate the mod_rewrite module with
  148. sudo a2enmod rewrite
  149. and restart the apache
  150. sudo service apache2 restart
  151. To use mod_rewrite from within .htaccess files (which is a very common use case), edit the default VirtualHost with
  152. sudo nano /etc/apache2/sites-available/000-default.conf
  153. Search for “DocumentRoot /var/www/html” and add the following lines directly below:
  154. <Directory "/var/www/html">
  155. AllowOverride All
  156. </Directory>
  157. Save and exit the nano editor via CTRL-X, “y” and ENTER.
  158. Restart the server again:
  159. sudo service apache2 restart
  160.  
  161. ------------------------------------------------------------------------------------------------------------------------------------------------
  162. ------------------------------------------------------------------------------------------------------------------------------------------------
  163. ------------------------------------------------------------------------------------------------------------------------------------------------
  164.  
  165. WEBSITE CONFIGURATION :
  166.  
  167. 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.
  168. 2. Please contact us on this point as we need to give you the mysql settings, if you host your VPS at us.
  169.  
  170. 3. Head over to a FTP program, we highly recommend WinSCP
  171. 4. Connect to it with your details : IP , root , password , port22
  172. 5. Go on folder up, then go to var > www > html
  173. 6. Export the following files :
  174. - Defico.png
  175. - Link.php
  176. - Core.php
  177. - Endround.php
  178. - Steamauth > settings.php
  179.  
  180. 7. edit all these files :
  181. -------------------------------------------------------------------------------------------------------------
  182. Defico.png : Replace with your own favicon
  183. -------------------------------------------------------------------------------------------------------------
  184. Link.php : Edit all your information. For the MySQL settings , use the login info for PHPMYADMIN
  185. The username and database is the same if we made your PHPMYADMIN database.
  186.  
  187. so you get :
  188. MysQl host = "Localhost"
  189. username = root
  190. password = ...
  191. database = root
  192. -------------------------------------------------------------------------------------------------------------
  193. Core.php :
  194. - Title : This will be shown in the top left corner and in the browser tab aswell.
  195. Add both bot's Steam ID's and Trade URLs ( these are bot steamid64's which can be obtained at steamid.io )
  196. - Optional : Add social media links
  197. -------------------------------------------------------------------------------------------------------------
  198. Endround.php :
  199. - 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
  200. - Set your admin steam id 64 and trade link aswell
  201. -------------------------------------------------------------------------------------------------------------
  202. Steamauth > settings.php :
  203. - Fill in your API key from bot1 or bot2 ( doesn't matter )
  204. - Fill in the domain at domainname and loginpage
  205. -------------------------------------------------------------------------------------------------------------
  206.  
  207. BOT CONFIGURATION
  208.  
  209. Edit all the following items in bot > bot.js & bot2.js ( optional )
  210.  
  211. Line 38: Api Key - Must be the API Key associated with the current bot. Get it here: https://steamcommunity.com/dev/apikey
  212. Line 45: Snipetimer - You can change the seconds before it gets declined.
  213. Line 36: Costpath - Dont change this.
  214. Line 32: Sitepath - The full path to index.php of your site without http://
  215. Line 34: Sitename - The name of your site, this will be shown in the bot's message to the winners
  216. Line 39: SteamID ( 64 ) of the admin, can send commands to the bot, ask for the rake, etc
  217. Line 40: BotSteamID ( 64 ) - The bot's steam ID, it is required to check for mobile confirmations
  218. Line 41: IdentitySecret - The identity_secret of the bot, it is required for mobile confirmations
  219. Line 42: SharedSecret = shared_secret of the bot's 2fa file, it's needed to generate the login code
  220. Line 43: pooling_interval - No need to change it
  221. Line 44: rsecret - Change it to the same code you put to p2endround.php and endround.php
  222. 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.
  223.  
  224. Line 55 : Put your bot details like this :
  225.  
  226. "accountName" : "hereyoutype",
  227. "password" : "hereyoutype",
  228.  
  229. Line 70 : Fill in your MySQL Settings again
  230. ------------------------------------------------------------------------------------------------------------
  231.  
  232. Time to configurate the 2 codes you have to fill in so your bot is compitable with Steam ESCROW.
  233. We are looking for the Identity_Secret and Shared_Secret
  234.  
  235. MAKE SURE BEFORE YOU DO THIS MOBILE AUTHENTICATOR IS TURNED OFF ON YOUR BOT AND THAT THERE IS NO PHONE NUMBER ADDED.
  236.  
  237. Method 1 : SDA ( Steam Desktop Authenticator )
  238.  
  239. 1. Open Steam Desktop Authenticator.exe located in Steam.Desktop.Authenticator.v1.0.0
  240. 2. Click you want to sign up for a new account
  241. 3. Go through all the steps
  242. 4. Go to the folder Steam.Desktop.Authenticator.v1.0.0 , and go to the map called maFiles and open yourbotssteami64 file with notepad++
  243. 5. Search for the Shared_Secret and the identity_secret , copy these codes.
  244. 6. Go to sell.js and paste them on line 6 and 7
  245. -------------------------------------------------------------------------------------------------------------
  246. MAKE SURE BEFORE YOU DO THIS METHOD MOBILE AUTHENTICATOR IS TUNRED OFF AND THAT YOU HAVE !!!!! ADDED YOUR PHONE NUMBER.
  247.  
  248. Method 2:
  249. Download Winauth at Winauth.com
  250.  
  251. 1. Click add
  252. 2. Choose Steam
  253. 3. username & password
  254. 4. Follow all the steps
  255. 5. When its all configured , right mouse click on the section, doesnt matter where.
  256. 6. Choose show steam data and recovery code
  257. 7. allow copy
  258. 8. get the secret and identity code
  259.  
  260. NEVER USE PROTECTION WITH THIS METHOD !
  261.  
  262. -------------------------------------------------------------------------------------------------------------
  263. MAKE SURE BEFORE YOU DO THIS MOBILE AUTHENTICATOR IS TURNED OFF ON YOUR BOT AND THAT THERE IS NO PHONE NUMBER ADDED.
  264.  
  265. Method 3: 2fa
  266.  
  267. 1. Download NODE.JS at https://nodejs.org/en/
  268. 2. open Command prompt > run > command prompt
  269. 3. type in npm in command prompt
  270. 4. then type this single commands :
  271. npm install steamcommunity
  272. npm install fs
  273. npm install readline
  274. --------------------------------------------------------------
  275. Steam section :
  276. 1. Go to your bots steam account
  277. 2. Go to account details
  278. 3. add phone number
  279. 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
  280. ---------------------------------------------------------------
  281. go to the 2fa folder located in the bot folder and copy the folder path
  282. in my example : C:\Users\MICHAEL\Desktop\2fa
  283.  
  284. type in command prompt cd C:\Users\MICHAEL\Desktop\2fa ( your path ofcourse )
  285. type in command prompt node 2fa.js
  286. It will ask for username : put your bots login
  287. password : bots password
  288. then you will get a mail on your bots email account. get the code and fill it in.
  289. Then it will ask for an activation code , get the code from your notepad and put it at the activation code.
  290. press enter a few times.
  291. mark the whole cmd
  292. and copy it and paste it in a notepad.
  293. Get the identity_secret and shared_secret
  294.  
  295.  
  296. After this you can run your bot by typing your path to the bot folder, cd /
  297. or at our vps : cd /var/www/bot
  298.  
  299. then type node bot1.js or node bot2.js // cfbot.js
  300. -------------------------------------------------------------------------------------------------------------
  301. Commands for the bot :
  302. /code : gives code to access the bot.
  303. /sendrake : Send rake to you.
  304. /end : End the pot.
  305. /cc : The bot will immediately check if there are any trades waiting for mobile confirmations. Mostly for debug.
  306. /poll :The bot will immediately check if there are any incoming trade offers. Mostly for debug purposes.
  307. /sendoffers : sends offers.
  308. -------------------------------------------------------------------------------------------------------------
  309. 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