Skip to content

Commit

Permalink
Get rid of double newline at the EOF I accidentally introduced in the
Browse files Browse the repository at this point in the history
last commit.
  • Loading branch information
d33tah committed Jun 18, 2014
1 parent e3d1c17 commit 421176f
Show file tree
Hide file tree
Showing 45 changed files with 0 additions and 45 deletions.
1 change: 0 additions & 1 deletion FPEngine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2691,4 +2691,3 @@ void response_reception_handler_wrapper(nsock_pool nsp, nsock_event nse, void *a
global_netctl.response_reception_handler(nsp, nse, arg);
return;
}

1 change: 0 additions & 1 deletion FPModel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3337,4 +3337,3 @@ std::vector<FingerMatch> load_fp_matches() {
}
return matches;
}

1 change: 0 additions & 1 deletion FingerPrintResults.cc
Original file line number Diff line number Diff line change
Expand Up @@ -330,4 +330,3 @@ bool FingerPrintResults::classAlreadyExistsInResults(struct OS_Classification *O
// Went through all the results -- no duplicates found
return false;
}

1 change: 0 additions & 1 deletion MACLookup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,4 +246,3 @@ bool MACCorp2Prefix(const char *vendorstr, u8 *mac_data) {
}
return false;
}

1 change: 0 additions & 1 deletion NmapOps.cc
Original file line number Diff line number Diff line change
Expand Up @@ -688,4 +688,3 @@ void NmapOps::chooseScripts(char* argument) {
}
}
#endif

1 change: 0 additions & 1 deletion NmapOutputTable.cc
Original file line number Diff line number Diff line change
Expand Up @@ -319,4 +319,3 @@ char *NmapOutputTable::printableTable(int *size) {
if (size) *size = p;
return tableout;
}

1 change: 0 additions & 1 deletion Target.cc
Original file line number Diff line number Diff line change
Expand Up @@ -576,4 +576,3 @@ void Target::osscanSetFlag(int flag) {
osscan_flag = flag;
}


1 change: 0 additions & 1 deletion TargetGroup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -785,4 +785,3 @@ unsigned long NewTargets::insert (const char *target) {

return new_targets->push(target);
}

1 change: 0 additions & 1 deletion charpool.cc
Original file line number Diff line number Diff line change
Expand Up @@ -225,4 +225,3 @@ int modulus;

return cp_strdup(src);
}

1 change: 0 additions & 1 deletion idle_scan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1460,4 +1460,3 @@ void idle_scan(Target *target, u16 *portarray, int numports,
target->stopTimeOutClock(NULL);
return;
}

1 change: 0 additions & 1 deletion main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,4 +228,3 @@ int main(int argc, char *argv[]) {

return nmap_main(argc, argv);
}

1 change: 0 additions & 1 deletion nmap-header-template.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@
***************************************************************************/

/* $Id$ */

1 change: 0 additions & 1 deletion nmap.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3131,4 +3131,3 @@ static void display_nmap_version() {
log_write(LOG_STDOUT, "\n");
log_write(LOG_STDOUT, "Available nsock engines: %s\n", nsock_list_engines());
}

1 change: 0 additions & 1 deletion nmap_dns.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1389,4 +1389,3 @@ std::list<std::string> get_dns_servers() {
}
return serverList;
}

1 change: 0 additions & 1 deletion nmap_error.cc
Original file line number Diff line number Diff line change
Expand Up @@ -286,4 +286,3 @@ void gh_perror(const char *fmt, ...) {
fflush(stderr);
return;
}

1 change: 0 additions & 1 deletion nmap_ftp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -382,4 +382,3 @@ void bounce_scan(Target *target, u16 *portarray, int numports,
numports, (long) time(NULL) - starttime);
return;
}

1 change: 0 additions & 1 deletion nmap_tty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -374,4 +374,3 @@ bool keyWasPressed()

return false;
}

1 change: 0 additions & 1 deletion nse_binlib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -411,4 +411,3 @@ LUALIB_API int luaopen_binlib (lua_State *L) {
luaL_newlib(L, binlib);
return 1;
}

1 change: 0 additions & 1 deletion nse_bit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ LUALIB_API int luaopen_bit(lua_State *L) {
luaL_newlib(L, bitlib);
return 1;
}

1 change: 0 additions & 1 deletion nse_debug.cc
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@ void lua_state_dump (lua_State *L)

assert(lua_gettop(L) == top);
}

1 change: 0 additions & 1 deletion nse_dnet.cc
Original file line number Diff line number Diff line change
Expand Up @@ -366,4 +366,3 @@ LUALIB_API int luaopen_dnet (lua_State *L)

return 1;
}

1 change: 0 additions & 1 deletion nse_fs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -320,4 +320,3 @@ LUALIB_API int luaopen_lfs(lua_State *L) {
set_info (L);
return 1;
}

1 change: 0 additions & 1 deletion nse_main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -816,4 +816,3 @@ void close_nse (void)
L_NSE = NULL;
}
}

1 change: 0 additions & 1 deletion nse_nmaplib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -972,4 +972,3 @@ int luaopen_nmap (lua_State *L)

return 1;
}

1 change: 0 additions & 1 deletion nse_nsock.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1102,4 +1102,3 @@ LUALIB_API int luaopen_nsock (lua_State *L)

return 1;
}

1 change: 0 additions & 1 deletion nse_openssl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -572,4 +572,3 @@ LUALIB_API int luaopen_openssl(lua_State *L) {

return 1;
}

1 change: 0 additions & 1 deletion nse_pcrelib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -402,4 +402,3 @@ LUALIB_API int luaopen_pcrelib(lua_State *L)

return 1;
}

1 change: 0 additions & 1 deletion nse_ssl_cert.cc
Original file line number Diff line number Diff line change
Expand Up @@ -530,4 +530,3 @@ void nse_nsock_init_ssl_cert(lua_State *L)
lua_setfield(L, -2, "__index");
ssl_cert_methods_index_ref = luaL_ref(L, LUA_REGISTRYINDEX);
}

1 change: 0 additions & 1 deletion nse_utility.cc
Original file line number Diff line number Diff line change
Expand Up @@ -203,4 +203,3 @@ Port *nseU_getport (lua_State *L, Target *target, Port *port, int idx)
lua_pop(L, 2);
return p;
}

1 change: 0 additions & 1 deletion osscan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1301,4 +1301,3 @@ FingerPrintDB *parse_fingerprint_reference_file(const char *dbname) {

return parse_fingerprint_file(filename);
}

1 change: 0 additions & 1 deletion osscan2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3726,4 +3726,3 @@ int OSScan::os_scan(std::vector<Target *> &Targets) {
else
return OP_FAILURE;
}

1 change: 0 additions & 1 deletion output.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2683,4 +2683,3 @@ void nmap_nsock_stderr_logger(nsock_pool nsp, const struct nsock_log_rec *rec) {
log_write(LOG_STDERR, "NSOCK %s [%.4fs] %s(): %s\n", nslog2str(rec->level),
elapsed_time/1000.0, rec->func, rec->msg);
}

1 change: 0 additions & 1 deletion payload.cc
Original file line number Diff line number Diff line change
Expand Up @@ -419,4 +419,3 @@ const char *get_udp_payload(u16 dport, size_t *length) {
return udp_port2payload(dport, length);
}
}

1 change: 0 additions & 1 deletion portlist.cc
Original file line number Diff line number Diff line change
Expand Up @@ -943,4 +943,3 @@ void random_port_cheat(u16 *ports, int portcount) {
}
}
}

1 change: 0 additions & 1 deletion portreasons.cc
Original file line number Diff line number Diff line change
Expand Up @@ -562,4 +562,3 @@ char *port_reason_str(state_reason_t r) {
}
return reason;
}

1 change: 0 additions & 1 deletion protocols.cc
Original file line number Diff line number Diff line change
Expand Up @@ -250,4 +250,3 @@ struct protoent *nmap_getprotbynum(int num) {
/* Couldn't find it ... oh well. */
return NULL;
}

1 change: 0 additions & 1 deletion scan_engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5864,4 +5864,3 @@ void ultra_scan(std::vector<Target *> &Targets, struct scan_lists *ports,
if (o.debugging > 2 && USI.pd != NULL)
pcap_print_stats(LOG_PLAIN, USI.pd);
}

1 change: 0 additions & 1 deletion service_scan.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2760,4 +2760,3 @@ int service_scan(std::vector<Target *> &Targets) {

return 0;
}

1 change: 0 additions & 1 deletion services.cc
Original file line number Diff line number Diff line change
Expand Up @@ -566,4 +566,3 @@ void gettoppts(double level, char *portlist, struct scan_lists * ports) {
else if (o.debugging && level >= 1)
log_write(LOG_STDOUT, "PORTS: Using top %d ports found open (TCP:%d, UDP:%d, SCTP:%d)\n", (int) level, ports->tcp_count, ports->udp_count, ports->sctp_count);
}

1 change: 0 additions & 1 deletion targets.cc
Original file line number Diff line number Diff line change
Expand Up @@ -721,4 +721,3 @@ Target *nexthost(HostGroupState *hs, const addrset *exclude_group,

return hs->hostbatch[hs->next_batch_no++];
}

1 change: 0 additions & 1 deletion tcpip.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2170,4 +2170,3 @@ int gettcpopt_ts(struct tcp_hdr *tcp, u32 *timestamp, u32 *echots) {
*echots = 0;
return 0;
}

1 change: 0 additions & 1 deletion timing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -774,4 +774,3 @@ bool ScanProgressMeter::beginOrEndTask(const struct timeval *now, const char *ad
log_flush(LOG_STDOUT|LOG_XML);
return true;
}

1 change: 0 additions & 1 deletion traceroute.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1649,4 +1649,3 @@ static struct timeval get_now(struct timeval *now) {
static const char *ss_to_string(const struct sockaddr_storage *ss) {
return inet_ntop_ez(ss, sizeof(*ss));
}

1 change: 0 additions & 1 deletion utils.cc
Original file line number Diff line number Diff line change
Expand Up @@ -700,4 +700,3 @@ int win32_munmap(char *filestr, int filelen) {
return 0;
}
#endif

1 change: 0 additions & 1 deletion xml.cc
Original file line number Diff line number Diff line change
Expand Up @@ -452,4 +452,3 @@ bool xml_tag_open() {
bool xml_root_written() {
return xml.root_written;
}

0 comments on commit 421176f

Please sign in to comment.