mirror of
https://github.com/drk1wi/portspoof.git
synced 2024-06-30 18:51:39 +00:00
32 lines
823 B
Plaintext
Executable File
32 lines
823 B
Plaintext
Executable File
Portspoof Unix install notes
|
|
|
|
1. Compile the software:
|
|
|
|
./configure
|
|
make
|
|
make install
|
|
|
|
OR
|
|
|
|
g++ -lpthread -Wall -g Configuration.cpp connection.cpp Portspoof.cpp revregex.cpp Utils.cpp Fuzzer.cpp Server.cpp -o portspoof
|
|
|
|
|
|
2. Configure your firewall rules:
|
|
|
|
Linux :
|
|
|
|
# iptables -A PREROUTING -i eth0 -p tcp -m tcp --dport 8080:10000 -j REDIRECT --to-ports 4444
|
|
Portspoof by default will listen on port ALL_INTERFACES:4444
|
|
|
|
This FW rules will result in service obfuscation for port range from 8080 to 10000
|
|
$ /usr/sbin/portspoof -c /etc/portsoof/portspoof.conf -s /etc/portsoof/portspoof_signatures
|
|
|
|
OR
|
|
|
|
Use example iptables-config file from the system_files directory.
|
|
|
|
|
|
3. Add portspoof invocation to your system's startup scripts.
|
|
|
|
Modify or use the default init.d script from the system_files directory
|