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:
16
NmapOps.cc
16
NmapOps.cc
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user