1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Get rid of double newline at the EOF I accidentally introduced in the

last commit.
This commit is contained in:
d33tah
2014-06-18 11:30:02 +00:00
parent e3d1c178e3
commit 421176fc00
45 changed files with 0 additions and 45 deletions

View File

@@ -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;
}

View File

@@ -3337,4 +3337,3 @@ std::vector<FingerMatch> load_fp_matches() {
}
return matches;
}

View File

@@ -330,4 +330,3 @@ bool FingerPrintResults::classAlreadyExistsInResults(struct OS_Classification *O
// Went through all the results -- no duplicates found
return false;
}

View File

@@ -246,4 +246,3 @@ bool MACCorp2Prefix(const char *vendorstr, u8 *mac_data) {
}
return false;
}

View File

@@ -688,4 +688,3 @@ void NmapOps::chooseScripts(char* argument) {
}
}
#endif

View File

@@ -319,4 +319,3 @@ char *NmapOutputTable::printableTable(int *size) {
if (size) *size = p;
return tableout;
}

View File

@@ -576,4 +576,3 @@ void Target::osscanSetFlag(int flag) {
osscan_flag = flag;
}

View File

@@ -785,4 +785,3 @@ unsigned long NewTargets::insert (const char *target) {
return new_targets->push(target);
}

View File

@@ -225,4 +225,3 @@ int modulus;
return cp_strdup(src);
}

View File

@@ -1460,4 +1460,3 @@ void idle_scan(Target *target, u16 *portarray, int numports,
target->stopTimeOutClock(NULL);
return;
}

View File

@@ -228,4 +228,3 @@ int main(int argc, char *argv[]) {
return nmap_main(argc, argv);
}

View File

@@ -122,4 +122,3 @@
***************************************************************************/
/* $Id$ */

View File

@@ -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());
}

View File

@@ -1389,4 +1389,3 @@ std::list<std::string> get_dns_servers() {
}
return serverList;
}

View File

@@ -286,4 +286,3 @@ void gh_perror(const char *fmt, ...) {
fflush(stderr);
return;
}

View File

@@ -382,4 +382,3 @@ void bounce_scan(Target *target, u16 *portarray, int numports,
numports, (long) time(NULL) - starttime);
return;
}

View File

@@ -374,4 +374,3 @@ bool keyWasPressed()
return false;
}

View File

@@ -411,4 +411,3 @@ LUALIB_API int luaopen_binlib (lua_State *L) {
luaL_newlib(L, binlib);
return 1;
}

View File

@@ -72,4 +72,3 @@ LUALIB_API int luaopen_bit(lua_State *L) {
luaL_newlib(L, bitlib);
return 1;
}

View File

@@ -100,4 +100,3 @@ void lua_state_dump (lua_State *L)
assert(lua_gettop(L) == top);
}

View File

@@ -366,4 +366,3 @@ LUALIB_API int luaopen_dnet (lua_State *L)
return 1;
}

View File

@@ -320,4 +320,3 @@ LUALIB_API int luaopen_lfs(lua_State *L) {
set_info (L);
return 1;
}

View File

@@ -816,4 +816,3 @@ void close_nse (void)
L_NSE = NULL;
}
}

View File

@@ -972,4 +972,3 @@ int luaopen_nmap (lua_State *L)
return 1;
}

View File

@@ -1102,4 +1102,3 @@ LUALIB_API int luaopen_nsock (lua_State *L)
return 1;
}

View File

@@ -572,4 +572,3 @@ LUALIB_API int luaopen_openssl(lua_State *L) {
return 1;
}

View File

@@ -402,4 +402,3 @@ LUALIB_API int luaopen_pcrelib(lua_State *L)
return 1;
}

View File

@@ -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);
}

View File

@@ -203,4 +203,3 @@ Port *nseU_getport (lua_State *L, Target *target, Port *port, int idx)
lua_pop(L, 2);
return p;
}

View File

@@ -1301,4 +1301,3 @@ FingerPrintDB *parse_fingerprint_reference_file(const char *dbname) {
return parse_fingerprint_file(filename);
}

View File

@@ -3726,4 +3726,3 @@ int OSScan::os_scan(std::vector<Target *> &Targets) {
else
return OP_FAILURE;
}

View File

@@ -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);
}

View File

@@ -419,4 +419,3 @@ const char *get_udp_payload(u16 dport, size_t *length) {
return udp_port2payload(dport, length);
}
}

View File

@@ -943,4 +943,3 @@ void random_port_cheat(u16 *ports, int portcount) {
}
}
}

View File

@@ -562,4 +562,3 @@ char *port_reason_str(state_reason_t r) {
}
return reason;
}

View File

@@ -250,4 +250,3 @@ struct protoent *nmap_getprotbynum(int num) {
/* Couldn't find it ... oh well. */
return NULL;
}

View File

@@ -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);
}

View File

@@ -2760,4 +2760,3 @@ int service_scan(std::vector<Target *> &Targets) {
return 0;
}

View File

@@ -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);
}

View File

@@ -721,4 +721,3 @@ Target *nexthost(HostGroupState *hs, const addrset *exclude_group,
return hs->hostbatch[hs->next_batch_no++];
}

View File

@@ -2170,4 +2170,3 @@ int gettcpopt_ts(struct tcp_hdr *tcp, u32 *timestamp, u32 *echots) {
*echots = 0;
return 0;
}

View File

@@ -774,4 +774,3 @@ bool ScanProgressMeter::beginOrEndTask(const struct timeval *now, const char *ad
log_flush(LOG_STDOUT|LOG_XML);
return true;
}

View File

@@ -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));
}

View File

@@ -700,4 +700,3 @@ int win32_munmap(char *filestr, int filelen) {
return 0;
}
#endif

1
xml.cc
View File

@@ -452,4 +452,3 @@ bool xml_tag_open() {
bool xml_root_written() {
return xml.root_written;
}