1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-26 01:19:03 +00:00

Nmap 4.02Alpha1 release for Everdream

This commit is contained in:
fyodor
2006-03-03 23:12:14 +00:00
parent bd46c3ae39
commit 848ad2a96a
19 changed files with 164 additions and 116 deletions

View File

@@ -177,17 +177,13 @@ void NmapOps::Initialize() {
char tmpxsl[MAXPATHLEN];
setaf(AF_INET);
#ifndef WIN32
# ifdef __amigaos__
isr00t = 1;
# else
if (getenv("NMAP_PRIVILEGED"))
isr00t = 1;
else
isr00t = !(geteuid());
# endif // __amigaos__
#else
#if defined WIN32 || defined __amigaos__
isr00t = 1;
#else
if (getenv("NMAP_PRIVILEGED"))
isr00t = 1;
else
isr00t = !(geteuid());
#endif
debugging = DEBUGGING;
verbose = DEBUGGING;