Skip to content

Commit

Permalink
Merge branch 'hotfix/clean_up_for_release'
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr committed Jul 22, 2013
2 parents 4d095b5 + 9765f73 commit 0ff0f9a
Show file tree
Hide file tree
Showing 46 changed files with 452 additions and 12,662 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
@@ -1,6 +1,5 @@
language: c
language: cpp
compiler:
- gcc
- clang
# Change this to your needs
script: ./configure && make
2 changes: 1 addition & 1 deletion AUTHORS
@@ -1,4 +1,4 @@
Portspoof author:
The Portspoof author:

Piotr Duszyński piotr[at]duszynski.eu
Twitter: @drk1wi
65 changes: 34 additions & 31 deletions COPYING
@@ -1,31 +1,34 @@
Portspoof license (see COPYRIGHT.GPL for detailed GPL conditions)

Copyright (C) 2012 Piotr Duszyński

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, see <http://www.gnu.org/licenses>.

Linking portspoof statically or dynamically with other modules is making
a combined work based on portspoof. Thus, the terms and conditions of the
GNU General Public License cover the whole combination.

In addition, as a special exception, the copyright holder of portspoof gives you
permission to combine portspoof with free software programs or libraries that
are released under the GNU LGPL. You may copy and distribute such a system following the
terms of the GNU GPL for portspoof and the licenses of the other code concerned.

Note that people who make modified versions of portspoof are not obligated to
grant this special exception for their modified versions; it is their choice
whether to do so. The GNU General Public License gives permission to release
a modified version without this exception; this exception also makes it
possible to release a modified version which carries forward this exception.

/*
* Portspoof - Service Signature Emulator / Exploitation Framework Frontend
* Copyright (C) 2012 Piotr Duszyński <piotr[at]duszynski.eu>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, see <http://www.gnu.org/licenses>.
*
* Linking portspoof statically or dynamically with other modules is making
* a combined work based on Portspoof. Thus, the terms and conditions of
* the GNU General Public License cover the whole combination.
*
* In addition, as a special exception, the copyright holder of Portspoof
* gives you permission to combine Portspoof with free software programs or
* libraries that are released under the GNU LGPL. You may copy
* and distribute such a system following the terms of the GNU GPL for
* Portspoof and the licenses of the other code concerned.
*
* Note that people who make modified versions of Portspoof are not obligated
* to grant this special exception for their modified versions; it is their
* choice whether to do so. The GNU General Public License gives permission
* to release a modified version without this exception; this exception
* also makes it possible to release a modified version which carries
* forward this exception.
*/
7 changes: 7 additions & 0 deletions ChangeLog
@@ -1,3 +1,10 @@
1.0 - 01/08/2013 - Linux
* Major release.
* Ported to C++.
* Example NMAP domino-enum-password NSE, McAffe UTF7 XSS, etc. exploits added .
* Fuzzer functionality added.
* Many minor improvements and enhancements have been made.

0.3 28/09/2012
* Configuration file
* Droppped BSD support due to time constraints
Expand Down
6 changes: 5 additions & 1 deletion FAQ
@@ -1,2 +1,6 @@
1. I have found a bug where should I report it?
piotr [at] duszynski.eu

portspoof.org mailing list ( http://portspoof.org/cgi-bin/mailman/listinfo/portspoof-users )

piotr [at] duszynski.eu

18 changes: 11 additions & 7 deletions INSTALL
Expand Up @@ -6,22 +6,26 @@ Portspoof Unix install notes
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
$ ./portspoof.
$ /usr/sbin/portspoof -c /etc/portsoof/portspoof.conf -s /etc/portsoof/portspoof_signatures

OR

BSD :
Use example iptables-config file from the system_files directory.

$ ulimit -n 512
$ pass in on em0 inet proto tcp from any to any port 5000:5500 flags S/SA rdr-to 127.0.0.1 port 4444
$ ./portspoof

3. Add portspoof invocation to your system's startup scripts.

Modify other relevant startup scripts.
Modify or use the default init.d script from the system_files directory

0 comments on commit 0ff0f9a

Please sign in to comment.