UNDERCODE COMMUNITY
2.69K subscribers
1.23K photos
31 videos
2.65K files
80.8K links
πŸ¦‘ Undercode Cyber World!
@UndercodeCommunity


1️⃣ World first platform which Collect & Analyzes every New hacking method.
+ AI Pratice
@Undercode_Testing

2️⃣ Cyber & Tech NEWS:
@Undercode_News

3️⃣ CVE @Daily_CVE

✨ Web & Services:
β†’ Undercode.help
Download Telegram
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁

πŸ¦‘ HOW TO SETUP YOUR WINDOWS 7> 10 AS a hacking one ?
fb.com/UndercodeTesting

πŸ¦‘ REQUIREMENTS :

1) DOWNLOAD :
https://sourceforge.net/projects/pentestbox/files/PentestBox-with-Metasploit-v2.2.exe/download

2) Installed here is C: / PentestBox / by default

> Files to download

> ruby (2.3.3) [32-bit]: https://dl.bintray.com/oneclick/rubyinstaller/ruby-2.3.3-i386-mingw32.7z

> msf: git clone https://github.com/rapid7/metasploit-framework.git

> ruby_devkit: http://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe

> WpdPack: http://www.winpcap.org/install/bin/WpdPack_4_1_2.zip

> Replace ruby, delete the original C: \ PentestBox \ base \ ruby file and replace the file

3) ruby_devkit delete the original file

Open DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe and extract it to C: \ PentestBox \ base \ ruby_devkit

Replace msf


πŸ¦‘ π•€β„•π•Šπ•‹π”Έπ•ƒπ•ƒπ•€π•Šπ”Έπ•‹π•€π•†β„• & β„π•Œβ„• :


1) [Common path:

ruby:% Pentestbox% \ base \ ruby

ruby_devkit:% Pentestbox% \ base \ ruby_devkit

msf:% Pentestbox% \ bin \ metasploit-framework

ruby 2.2.6p396 (2016-11-15 revision 56800) [i386-mingw32]

]


2) hen execute ruby -v and you will see:

ruby 2.3.3p222 (2016-11-21 revision 56859) [i386-mingw32]


3) Then we update the gem and change the domestic source

Run gem update --system

> [If ssl is wrong, execute gem sources --add https://gems.ruby-china.org/ --remove https://rubygems.org/

If it still doesn't work, replace https with http

gem sources --add http://gems.ruby-china.org/ --remove https://rubygems.org/

】

> gem sources -l ### Checking the current source is enough.

> gem sources --u update source cache


4) Install the bundle ...

gem install bundler

gem install bundle

> bundle config mirror.https: //rubygems.org https://gems.ruby-china.org #Execute this and replace the source of bunlde ... If you encounter ssl, the same solution as above

Update of msf ...

5) First of all, go to the directory of msf .... First, go to the directory of msf .... execute

bundle update

bundle install

[If the error is reported, proceed to the next step. Skip without error]

6) NOW you need to unzip WpdPack to the c drive directory

7) Then modify the extconf.rb file located in% Pentestbox% \ base \ ruby \ lib \ ruby \ gems \ 2.3.0 \ gems \ pcaprub-0.12.4 \ ext \ pcaprub_c, and add two lines of code between pcap_libdir and have_library:

$ CFLAGS = "-I # {pcap_includedir}"

$ LDFLAGS = "-L # {pcap_libdir}"

8) Then execute gem install pcaprub -v '0.12.4' and there will be no problem

9) Since WpdPack is on the C drive by default, it is inconvenient as a penetration test box.

10) The WpdPack path here can be modified. Copy the WpdPack folder unzipped to the C drive to the PentestBox directory.

11) Open extconf.rb under C: \ PentestBox \ base \ ruby \ lib \ ruby \ gems \ 2.3.0 \ gems \ pcaprub-0.12.4 \ ext \ pcaprub_c directory

12) Continue to execute bundle install Continue to execute bundle install [Time is a little long, process ,,,, wait slowly] After the
installation is complete, running msfconsole will cause bcrypt errors. We also need to execute the command:

gem uninstall bcrypt

gem uninstall bcrypt-ruby


13) Execute again

gem install bcrypt --platform = ruby

14) You're done. Win7 64-bit runs perfectly and supports win10 64-bit.

> [In addition: when opening msfconsole, a few lines of error may be reported as shown below]

15) At this time, we only need to modify the C: / PentestBox / base / ruby b / ruby / gems / 2.3.0 / gems / rbnacl-4.0.2 b / rbnacl / sodium ersion.rb file on the error prompt . Just comment out the number of lines reported with errors.

written by undercode
▁ β–‚ β–„ ο½•π•Ÿπ”»β’Ίπ«Δ†π”¬π““β“” β–„ β–‚ ▁