GyoiThon Next Generation Penetration Tool Mining Pit Collection

It is better to use the environment of python3

This time using python2.7 environment

1. About kalipython switching

Open the terminal and enter the following two commands:

       update-alternatives --install /usr/bin/python python /usr/bin/python2 100

       update-alternatives --install /usr/bin/python python /usr/bin/python3 150

       Then open the terminal and enter: python --version

       If there is no error, the python version should switch to the default python3 at this time.

       If you need to switch back to python, just type in the terminal: update-alternatives --config python

       Then select the python version you need, enter the serial number and press Enter.

The following pits are all stepped on with kali+python 2.6.14+

installation steps

1.git clone  

https://github.com/bsmali4/GyoiThon.git

2.

msfdb init

3.find / -name "database.yml"

Find the configuration of the native msf

 load msgrpc ServerHost=192.168.220.144 ServerPort=55553 User=test Pass=test1234

 

SERVERHOST The IP address of the server that started Metasploit. The above example is 192.168.220.144.
server port Any port number of the server on which Metasploit is started. The above example is 55553.
user Any username to use for authentication (default => msf). The above example is test.
pass through Any password that uses authentication (default => random string). The above example is test1234.

4. Change the value below config.ini

Modify GyoiThon/classifier4gyoithon/config.ini

Set [GyoiExploit] content

5. Set the content of the root directory host.txt, pay attention to a space

6. Due to the use of python2.6.x

python3x是from urllib.request import urlopen

python2x是from urllib2 import urlopen

7.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324435630&siteId=291194637