Nmap - the Network Mapper. Github mirror of official SVN repository. https://svn.nmap.org/
Find a file
dmiller 5c662fffdc Apply PEP 8 style guidance to zenmap
Using the pep8 tool (https://pypi.python.org/pypi/pep8), fixed the
following style issues:

Count   Issue
11      E201 whitespace after '['
8       E203 whitespace before ','
41      E211 whitespace before '('
11      E221 multiple spaces before operator
61      E225 missing whitespace around operator
237     E231 missing whitespace after ':'
91      E251 no spaces around keyword / parameter equals
19      E261 at least two spaces before inline comment
41      E301 expected 1 blank line, found 0
200     E302 expected 2 blank lines, found 1
356     E303 too many blank lines (2)
563     E501 line too long (106 characters)
39      E701 multiple statements on one line (colon)
13      E702 multiple statements on one line (semicolon)
4       W291 trailing whitespace
2       W293 blank line contains whitespace
8       W391 blank line at end of file
21      W601 .has_key() is deprecated, use 'in'
2       W602 deprecated form of raising exception

The remaining issues are long lines due to very deep data structures. I
chose not to alter them, as it would involve backslash-continuation
where whitespace is not permitted:

./zenmapGUI/ScanInterface.py:323:80: E501 line too long (90 characters)
./zenmapGUI/ScanInterface.py:456:80: E501 line too long (84 characters)
./zenmapGUI/ScanInterface.py:464:80: E501 line too long (84 characters)
./zenmapGUI/ScanInterface.py:472:80: E501 line too long (122 characters)
./zenmapGUI/ScanInterface.py:479:80: E501 line too long (122 characters)
./zenmapGUI/ScanInterface.py:920:80: E501 line too long (94 characters)
./zenmapGUI/ScanInterface.py:923:80: E501 line too long (93 characters)
./zenmapGUI/MainWindow.py:575:80: E501 line too long (99 characters)
./zenmapGUI/MainWindow.py:906:80: E501 line too long (99 characters)
2014-01-08 19:50:22 +00:00
docs Minor rewording for clarity that someone suggested 2013-10-22 00:51:58 +00:00
libdnet-stripped
liblinear
liblua Update bundled liblua from 5.2.2 to 5.2.3 2014-01-02 15:33:55 +00:00
libnetutil Fix assert fail on FreeBSD in libdnet 2013-11-07 19:32:33 +00:00
libpcap
libpcre
macosx Target Mac OS X 10.6 in the Mac bundles. 2013-11-12 04:59:07 +00:00
mswin32 Fix windows build breakage from r32558 2014-01-06 20:19:21 +00:00
nbase Re-autoconf the configure scripts (using 2.69) 2013-12-11 23:17:47 +00:00
ncat Re-autoconf the configure scripts (using 2.69) 2013-12-11 23:17:47 +00:00
ndiff [Ndiff] Fix DeprecationWarning under python -3 2013-12-23 20:12:40 +00:00
nmap-update
nping Re-autoconf the configure scripts (using 2.69) 2013-12-11 23:17:47 +00:00
nselib Adjust unittest definitions to generate proper nsedoc 2014-01-04 03:48:13 +00:00
nsock Include stddef only if required 2013-12-30 14:35:50 +00:00
scripts New unittest library and driver script for NSE testing 2014-01-03 21:10:01 +00:00
todo A couple more todo items. Enough for now. 2013-12-23 17:54:26 +00:00
zenmap Apply PEP 8 style guidance to zenmap 2014-01-08 19:50:22 +00:00
acinclude.m4
aclocal.m4
BSDmakefile
CHANGELOG Add some CHANGELOG entries for recent changes 2014-01-06 20:19:23 +00:00
charpool.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
charpool.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
checklibs.sh checklibs.sh: newest didn't work when newest version was first in list 2013-12-24 19:23:33 +00:00
config.guess
config.sub
configure Let "make check" only check appropriate things 2014-01-07 19:04:12 +00:00
configure.ac Let "make check" only check appropriate things 2014-01-07 19:04:12 +00:00
COPYING Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
depcomp
FingerPrintResults.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
FingerPrintResults.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
FPEngine.cc Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
FPEngine.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
FPModel.cc
global_structures.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
HACKING
idle_scan.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
idle_scan.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
INSTALL
ltmain.sh
MACLookup.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
MACLookup.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
main.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
Makefile.in Let "make check" only check appropriate things 2014-01-07 19:04:12 +00:00
missing
nmap-header-template.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
nmap-mac-prefixes Update nmap-mac-prefixes with latest IEEE data 2013-11-21 19:51:21 +00:00
nmap-os-db Replace '# Fingerprint' with just '#' to make it more consistent. 2014-01-08 01:14:33 +00:00
nmap-payloads o [NSE] Add freelancer-info to gather information about the Freelancer 2013-11-20 04:31:31 +00:00
nmap-protocols
nmap-rpc
nmap-service-probes o Added version detection signatures and probes for a bunch of Android 2013-12-14 22:23:29 +00:00
nmap-services Add some ports/descriptions sent in by James Cole 2013-12-26 00:36:45 +00:00
nmap.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap.spec.in
nmap_amigaos.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
nmap_config.h.in Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
nmap_dns.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap_dns.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
nmap_error.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap_error.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
nmap_ftp.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap_ftp.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap_tty.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nmap_tty.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
nmap_winconfig.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
NmapOps.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
NmapOps.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
NmapOutputTable.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
NmapOutputTable.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nse_binlib.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nse_binlib.h
nse_bit.cc
nse_bit.h
nse_debug.cc
nse_debug.h
nse_dnet.cc
nse_dnet.h
nse_fs.cc
nse_fs.h
nse_main.cc Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
nse_main.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
nse_main.lua
nse_nmaplib.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nse_nmaplib.h
nse_nsock.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nse_nsock.h
nse_openssl.cc
nse_openssl.h
nse_pcrelib.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
nse_pcrelib.h
nse_ssl_cert.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
nse_ssl_cert.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
nse_utility.cc
nse_utility.h
osscan.cc DB cannot be NULL here. 2013-10-08 21:50:47 +00:00
osscan.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
osscan2.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
osscan2.h Use u32 instead of int for all ipids 2013-12-04 12:51:59 +00:00
output.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
output.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
payload.cc Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
payload.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
portlist.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
portlist.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
portreasons.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
portreasons.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
protocols.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
protocols.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
README-WIN32
scan_engine.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
scan_engine.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
service_scan.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
service_scan.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
services.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
services.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
shtool
struct_ip.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
Target.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
Target.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
TargetGroup.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
TargetGroup.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
targets.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
targets.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
tcpip.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
tcpip.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
timing.cc Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
timing.h Replace all tab characters at the beginnings of lines with 8 spaces. 2014-01-05 19:14:26 +00:00
traceroute.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
traceroute.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
utils.cc Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
utils.h Revert r32528, was not tested on Windows 2013-11-27 13:32:05 +00:00
xml.cc Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
xml.h Add a lacking space in the license comment. The command I used to do this is: 2013-09-11 19:06:20 +00:00
zenmap.spec.in

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).