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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -3337,4 +3337,3 @@ std::vector<FingerMatch> load_fp_matches() {
|
||||
}
|
||||
return matches;
|
||||
}
|
||||
|
||||
|
||||
@@ -330,4 +330,3 @@ bool FingerPrintResults::classAlreadyExistsInResults(struct OS_Classification *O
|
||||
// Went through all the results -- no duplicates found
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -246,4 +246,3 @@ bool MACCorp2Prefix(const char *vendorstr, u8 *mac_data) {
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -688,4 +688,3 @@ void NmapOps::chooseScripts(char* argument) {
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -319,4 +319,3 @@ char *NmapOutputTable::printableTable(int *size) {
|
||||
if (size) *size = p;
|
||||
return tableout;
|
||||
}
|
||||
|
||||
|
||||
@@ -576,4 +576,3 @@ void Target::osscanSetFlag(int flag) {
|
||||
osscan_flag = flag;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -785,4 +785,3 @@ unsigned long NewTargets::insert (const char *target) {
|
||||
|
||||
return new_targets->push(target);
|
||||
}
|
||||
|
||||
|
||||
@@ -225,4 +225,3 @@ int modulus;
|
||||
|
||||
return cp_strdup(src);
|
||||
}
|
||||
|
||||
|
||||
@@ -1460,4 +1460,3 @@ void idle_scan(Target *target, u16 *portarray, int numports,
|
||||
target->stopTimeOutClock(NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
1
main.cc
1
main.cc
@@ -228,4 +228,3 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
return nmap_main(argc, argv);
|
||||
}
|
||||
|
||||
|
||||
@@ -122,4 +122,3 @@
|
||||
***************************************************************************/
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
|
||||
1
nmap.cc
1
nmap.cc
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
@@ -1389,4 +1389,3 @@ std::list<std::string> get_dns_servers() {
|
||||
}
|
||||
return serverList;
|
||||
}
|
||||
|
||||
|
||||
@@ -286,4 +286,3 @@ void gh_perror(const char *fmt, ...) {
|
||||
fflush(stderr);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -382,4 +382,3 @@ void bounce_scan(Target *target, u16 *portarray, int numports,
|
||||
numports, (long) time(NULL) - starttime);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -374,4 +374,3 @@ bool keyWasPressed()
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -411,4 +411,3 @@ LUALIB_API int luaopen_binlib (lua_State *L) {
|
||||
luaL_newlib(L, binlib);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -72,4 +72,3 @@ LUALIB_API int luaopen_bit(lua_State *L) {
|
||||
luaL_newlib(L, bitlib);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -100,4 +100,3 @@ void lua_state_dump (lua_State *L)
|
||||
|
||||
assert(lua_gettop(L) == top);
|
||||
}
|
||||
|
||||
|
||||
@@ -366,4 +366,3 @@ LUALIB_API int luaopen_dnet (lua_State *L)
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -320,4 +320,3 @@ LUALIB_API int luaopen_lfs(lua_State *L) {
|
||||
set_info (L);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -816,4 +816,3 @@ void close_nse (void)
|
||||
L_NSE = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -972,4 +972,3 @@ int luaopen_nmap (lua_State *L)
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1102,4 +1102,3 @@ LUALIB_API int luaopen_nsock (lua_State *L)
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -572,4 +572,3 @@ LUALIB_API int luaopen_openssl(lua_State *L) {
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -402,4 +402,3 @@ LUALIB_API int luaopen_pcrelib(lua_State *L)
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -203,4 +203,3 @@ Port *nseU_getport (lua_State *L, Target *target, Port *port, int idx)
|
||||
lua_pop(L, 2);
|
||||
return p;
|
||||
}
|
||||
|
||||
|
||||
@@ -1301,4 +1301,3 @@ FingerPrintDB *parse_fingerprint_reference_file(const char *dbname) {
|
||||
|
||||
return parse_fingerprint_file(filename);
|
||||
}
|
||||
|
||||
|
||||
@@ -3726,4 +3726,3 @@ int OSScan::os_scan(std::vector<Target *> &Targets) {
|
||||
else
|
||||
return OP_FAILURE;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -419,4 +419,3 @@ const char *get_udp_payload(u16 dport, size_t *length) {
|
||||
return udp_port2payload(dport, length);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -943,4 +943,3 @@ void random_port_cheat(u16 *ports, int portcount) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -562,4 +562,3 @@ char *port_reason_str(state_reason_t r) {
|
||||
}
|
||||
return reason;
|
||||
}
|
||||
|
||||
|
||||
@@ -250,4 +250,3 @@ struct protoent *nmap_getprotbynum(int num) {
|
||||
/* Couldn't find it ... oh well. */
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -2760,4 +2760,3 @@ int service_scan(std::vector<Target *> &Targets) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
@@ -721,4 +721,3 @@ Target *nexthost(HostGroupState *hs, const addrset *exclude_group,
|
||||
|
||||
return hs->hostbatch[hs->next_batch_no++];
|
||||
}
|
||||
|
||||
|
||||
1
tcpip.cc
1
tcpip.cc
@@ -2170,4 +2170,3 @@ int gettcpopt_ts(struct tcp_hdr *tcp, u32 *timestamp, u32 *echots) {
|
||||
*echots = 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -774,4 +774,3 @@ bool ScanProgressMeter::beginOrEndTask(const struct timeval *now, const char *ad
|
||||
log_flush(LOG_STDOUT|LOG_XML);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -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
utils.cc
1
utils.cc
@@ -700,4 +700,3 @@ int win32_munmap(char *filestr, int filelen) {
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user