Warning: PHP Request Startup: Invalid date.timezone value '', using 'UTC' instead in Unknown on line 0

Warning: PHP Request Startup: Session ini settings cannot be changed after headers have already been sent in Unknown on line 0

Warning: session_start(): Session cannot be started after headers have already been sent in /home/admud64/mrleet.com/user/database_connection.php on line 5
file_enumeration used and required in Penetration Testing ~ MrLeet

Title: file_enumeration used and required in Penetration TestingAuthor: ajayverma
# File Enumeration

- Find UID 0 files root execution

```ShellSession
/usr/bin/find / -perm -g=s -o -perm -4000 ! -type l -maxdepth 3 -exec ls -ld {} \\\\; 2>/dev/null
```

- Get handy linux file system enumeration script (/var/tmp)

```ShellSession
wget <https://highon.coffee/downloads/linux-local-enum.sh>

chmod +x ./linux-local-enum.sh

./linux-local-enum.sh
```

- Find executable files updated in August

```ShellSession
find / -executable -type f 2> /dev/null | egrep -v "^/bin|^/var|^/etc|^/usr" | xargs ls -lh | grep Aug
```

- Find a specific file on linux

```ShellSession
find /. -name suid\\\*\\
```

- Find all the strings in a file

```ShellSession
strings <filename>
```

- Determine the type of a file

```ShellSession
file <filename>
```


Submitted On: 2019-06-25 12:39:21




Warning: PHP Startup: Invalid date.timezone value '', using 'UTC' instead in Unknown on line 0