mirror of
https://github.com/byt3bl33d3r/MITMf.git
synced 2025-07-12 16:13:59 -07:00
added kali setup script and updated readme
This commit is contained in:
parent
7fc75d7bf8
commit
bb8ee46b82
5 changed files with 18 additions and 8 deletions
13
README.md
13
README.md
|
@ -12,6 +12,7 @@ Contact me at:
|
||||||
- IRC on Freenode: #MITMf
|
- IRC on Freenode: #MITMf
|
||||||
- Email: byt3bl33d3r@gmail.com
|
- Email: byt3bl33d3r@gmail.com
|
||||||
|
|
||||||
|
**Update: Installation steps have changed! Please read the new [instructions](#installation)**
|
||||||
**Before submitting issues, please read the [FAQ](#faq) and the appropriate [section](#submitting-issues).**
|
**Before submitting issues, please read the [FAQ](#faq) and the appropriate [section](#submitting-issues).**
|
||||||
|
|
||||||
Available plugins
|
Available plugins
|
||||||
|
@ -81,12 +82,14 @@ How to install on Kali
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
============
|
============
|
||||||
If MITMf is not in your distro's repo or you just want the latest version:
|
If you're rocking Kali and want the latest version:
|
||||||
- Run the command ```git clone https://github.com/byt3bl33d3r/MITMf.git``` to clone this directory
|
- Clone this repository
|
||||||
- Run the ```setup.sh``` script
|
- Run the ```kali_setup.sh``` script
|
||||||
- Run the command ```pip install --upgrade -r requirements.txt``` to install all Python dependencies
|
|
||||||
|
|
||||||
On Kali Linux, if you get an error while installing the ```pypcap``` package or when starting MITMf you see: ```ImportError: no module named pcap```, run ```apt-get install python-pypcap``` to fix it
|
If you're rocking any other Linux distro:
|
||||||
|
- Clone this repository
|
||||||
|
- Run the ```other_setup.sh``` script
|
||||||
|
- Run the command ```pip install --upgrade -r requirements.txt``` to install all Python dependencies
|
||||||
|
|
||||||
Submitting Issues
|
Submitting Issues
|
||||||
=================
|
=================
|
||||||
|
|
6
kali_setup.sh
Executable file
6
kali_setup.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
git submodule init && git submodule update --recursive
|
||||||
|
apt-get install -y python-capstone python-twisted python-requests python-scapy python-dnspython python-cryptography python-crypto
|
||||||
|
apt-get install -y python-msgpack python-configobj python-pefile python-ipy python-openssl python-pypcap
|
||||||
|
pip install Pillow mitmflib
|
3
other_setup.sh
Normal file
3
other_setup.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
git submodule init && git submodule update --recursive
|
|
@ -170,6 +170,7 @@ class Inject(CacheKill, Plugin):
|
||||||
options.add_argument("--js-url", type=str, help="Location of your (presumably) malicious Javascript.")
|
options.add_argument("--js-url", type=str, help="Location of your (presumably) malicious Javascript.")
|
||||||
options.add_argument("--html-url", type=str, help="Location of your (presumably) malicious HTML. Injected via hidden iframe.")
|
options.add_argument("--html-url", type=str, help="Location of your (presumably) malicious HTML. Injected via hidden iframe.")
|
||||||
options.add_argument("--html-payload", type=str, default='', help="String you would like to inject.")
|
options.add_argument("--html-payload", type=str, default='', help="String you would like to inject.")
|
||||||
|
options.add_argument("--html-file", type=argparse.FileType('r'), help='File containg HTML you would like to inject')
|
||||||
options.add_argument("--match-str", type=str, default=None, help="String you would like to match and place your payload before. (</body> by default)")
|
options.add_argument("--match-str", type=str, default=None, help="String you would like to match and place your payload before. (</body> by default)")
|
||||||
options.add_argument("--preserve-cache", action="store_true", help="Don't kill the server/client caching.")
|
options.add_argument("--preserve-cache", action="store_true", help="Don't kill the server/client caching.")
|
||||||
group = options.add_mutually_exclusive_group(required=False)
|
group = options.add_mutually_exclusive_group(required=False)
|
||||||
|
|
3
setup.sh
3
setup.sh
|
@ -1,3 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
git submodule init && git submodule update --recursive
|
|
Loading…
Add table
Add a link
Reference in a new issue