mirror of
https://github.com/oXis/pwnwiki.github.io.git
synced 2025-10-29 16:56:59 +00:00
first whack at nav reorg
This commit is contained in:
parent
68644fefb7
commit
be072ead31
0
cats/ncat.md → 2besorted/cats/ncat.md
Executable file → Normal file
0
cats/ncat.md → 2besorted/cats/ncat.md
Executable file → Normal file
0
cats/netcat.md → 2besorted/cats/netcat.md
Executable file → Normal file
0
cats/netcat.md → 2besorted/cats/netcat.md
Executable file → Normal file
0
cats/socat.md → 2besorted/cats/socat.md
Executable file → Normal file
0
cats/socat.md → 2besorted/cats/socat.md
Executable file → Normal file
@ -1,68 +1,68 @@
|
|||||||
|
|
||||||
# OS X Google Doc Content #
|
# OS X Google Doc Content #
|
||||||
|
|
||||||
The content below is the raw data from the Google Doc that was first used to collect it. Over time, this content will be moved into sub-pages and organized but is placed here, now, so as to be more complete. We apologize for its appearance.
|
The content below is the raw data from the Google Doc that was first used to collect it. Over time, this content will be moved into sub-pages and organized but is placed here, now, so as to be more complete. We apologize for its appearance.
|
||||||
|
|
||||||
----
|
----
|
||||||
|
|
||||||
## Blind Files
|
## Blind Files
|
||||||
(things to pull when all you can do is blindly read) LFI/dir traversal
|
(things to pull when all you can do is blindly read) LFI/dir traversal
|
||||||
/etc/resolv.conf (everyone always has read on this and it wont trigger an IDS)
|
/etc/resolv.conf (everyone always has read on this and it wont trigger an IDS)
|
||||||
|
|
||||||
## System
|
## System
|
||||||
<code>uname -a
|
<code>uname -a
|
||||||
ps aux
|
ps aux
|
||||||
ps -aef
|
ps -aef
|
||||||
id
|
id
|
||||||
arch
|
arch
|
||||||
w
|
w
|
||||||
who -a
|
who -a
|
||||||
gcc -v
|
gcc -v
|
||||||
mysql --version
|
mysql --version
|
||||||
perl -v
|
perl -v
|
||||||
ruby -v
|
ruby -v
|
||||||
python --version
|
python --version
|
||||||
df -k
|
df -k
|
||||||
mount
|
mount
|
||||||
last -a
|
last -a
|
||||||
lastlogin (*bsd)
|
lastlogin (*bsd)
|
||||||
getenforce <- does not work on Lion no idea if this work in previous versions
|
getenforce <- does not work on Lion no idea if this work in previous versions
|
||||||
dmesg
|
dmesg
|
||||||
lsusb<- does not work on Lion no idea it this work on previous versions
|
lsusb<- does not work on Lion no idea it this work on previous versions
|
||||||
lshw <- does not work on Lion no idea it this work on previous versions
|
lshw <- does not work on Lion no idea it this work on previous versions
|
||||||
free -m <- does not work on Lion no idea it this work on previous versions
|
free -m <- does not work on Lion no idea it this work on previous versions
|
||||||
du -h --max-depth=1 /
|
du -h --max-depth=1 /
|
||||||
which nmap (see if it's already installed)
|
which nmap (see if it's already installed)
|
||||||
locate bin/nmap
|
locate bin/nmap
|
||||||
which nc (see if it's already installed)
|
which nc (see if it's already installed)
|
||||||
locate bin/<whatever you want>
|
locate bin/<whatever you want>
|
||||||
whoami
|
whoami
|
||||||
jps -l
|
jps -l
|
||||||
java -version</code>
|
java -version</code>
|
||||||
|
|
||||||
## Networking
|
## Networking
|
||||||
<code>hostname -f
|
<code>hostname -f
|
||||||
ip addr show
|
ip addr show
|
||||||
ifconfig -a
|
ifconfig -a
|
||||||
route -n
|
route -n
|
||||||
cat /etc/network/interfaces
|
cat /etc/network/interfaces
|
||||||
iptables -L -n
|
iptables -L -n
|
||||||
netstat -anop
|
netstat -anop
|
||||||
netstat -r
|
netstat -r
|
||||||
netstat -nltupw (root with raw sockets)
|
netstat -nltupw (root with raw sockets)
|
||||||
arp -a
|
arp -a
|
||||||
lsof -nPi</code>
|
lsof -nPi</code>
|
||||||
|
|
||||||
## Per User
|
## Per User
|
||||||
<code>ls -alh /Users/*/
|
<code>ls -alh /Users/*/
|
||||||
ls -alh /Users/*/.ssh/
|
ls -alh /Users/*/.ssh/
|
||||||
cat /Users/*/.ssh/authorized_keys
|
cat /Users/*/.ssh/authorized_keys
|
||||||
cat /Users/*/.ssh/known_hosts
|
cat /Users/*/.ssh/known_hosts
|
||||||
cat /Users/*/.*hist*
|
cat /Users/*/.*hist*
|
||||||
find -type f /Users/*/.vnc /Users/*/.subversion
|
find -type f /Users/*/.vnc /Users/*/.subversion
|
||||||
grep ^ssh /Users/*/.*hist*
|
grep ^ssh /Users/*/.*hist*
|
||||||
grep ^telnet `/Users/*/.*hist*
|
grep ^telnet `/Users/*/.*hist*
|
||||||
grep ^mysql /Users/*/.*hist*
|
grep ^mysql /Users/*/.*hist*
|
||||||
cat /Users/*/.viminfo
|
cat /Users/*/.viminfo
|
||||||
sudo -l # if sudoers is not readable, this sometimes works per user
|
sudo -l # if sudoers is not readable, this sometimes works per user
|
||||||
crontab -l</code>
|
crontab -l</code>
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# Place Holder
|
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
|
||||||
@ -2,68 +2,55 @@
|
|||||||
|
|
||||||
[Home](index.md)
|
[Home](index.md)
|
||||||
|
|
||||||
[Windows]()
|
[Presence]()
|
||||||
|
|
||||||
* [Autostart Locations](windows/autostart.md)
|
* [Windows](presence/windows/index.md)
|
||||||
* [Binary Planting](windows/binary.md)
|
* [Linux](presence/linux/index.md)
|
||||||
* [CMD Commands](windows/cmd.md)
|
* [OSX](presence/osx/index.md)
|
||||||
* [Covering Tracks](windows/cover.md)
|
|
||||||
* [Files - Blind](windows/blind.md)
|
|
||||||
* [Files - Finding](windows/find_files.md)
|
|
||||||
* [Files - Important](windows/files.md)
|
|
||||||
* [Persistance](windows/persistance.md)
|
|
||||||
* [Powershell](windows/powershell.md)
|
|
||||||
* [Privilege Escalation](windows/privesc.md)
|
|
||||||
* [Remote Access](windows/remote.md)
|
|
||||||
* [UAC Bypassing](windows/uac.md)
|
|
||||||
* [MSSQL Servers](windows/mssql.md)
|
|
||||||
|
|
||||||
|
[Persistence]()
|
||||||
[Linux]()
|
|
||||||
|
|
||||||
* [Google Doc Content](linux/bulk.md)
|
* [Windows](persistence/windows/index.md)
|
||||||
* [Files - Blind](linux/blind.md)
|
* [Linux](persistence/linux/index.md)
|
||||||
* [Files - Finding](linux/find_files.md)
|
* [OSX](persistence/osx/index.md)
|
||||||
* [SH/BASH Commands](linux/bash.md)
|
|
||||||
* [Persistance](linux/persistance.md)
|
|
||||||
* [Privilege Escalation](linux/privesc.md)
|
|
||||||
|
|
||||||
|
[Pivoting]()
|
||||||
|
|
||||||
[OSX]()
|
* [Windows](pivoting/windows/index.md)
|
||||||
|
* [Linux](pivoting/linux/index.md)
|
||||||
|
* [OSX](pivoting/osx/index.md)
|
||||||
|
|
||||||
* [Bash Commands](osx/bash.md)
|
[Privilege Escalation]()
|
||||||
* [Files - Blind](osx/blind.md)
|
|
||||||
* [Files - Finding](osx/find_files.md)
|
* [Windows](privesc/windows/index.md)
|
||||||
* [Persistance](osx/persistance.md)
|
* [Linux](privesc/linux/index.md)
|
||||||
* [Privilege Escalation](osx/privesc.md)
|
* [OSX](privesc/osx/index.md)
|
||||||
|
|
||||||
[Mobile]()
|
[Mobile]()
|
||||||
|
|
||||||
* [Android](mobile/android.md)
|
* [Android](mobile/android.md)
|
||||||
* [iOS](mobile/ios.md)
|
* [iOS](mobile/ios.md)
|
||||||
|
|
||||||
[Other OSs]()
|
[Technologies]()
|
||||||
|
|
||||||
* [zOS](otheros/zos.md)
|
* [Mainframes](tech/mainframes/index.md)
|
||||||
* [AS/400](otheros/as400.md)
|
* [Embedded OSs](tech/embedded/index.md)
|
||||||
* [Cisco](otheros/cisco.md)
|
* [Web Languages](tech/web/languages.md)
|
||||||
* [Juniper](otheros/juniper.md)
|
* [Web Apps](tech/web/apps.md)
|
||||||
|
* [Web Servers](tech/web/servers.md)
|
||||||
|
* [Network Services](tech/services/index.md)
|
||||||
|
* [Databases](tech/db/index.md)
|
||||||
|
|
||||||
[Scripting]()
|
[Scripting]()
|
||||||
|
|
||||||
* [Python](scripting/python.md)
|
* [Python](scripting/python.md)
|
||||||
|
* [Powershell](scripting/powershell.md)
|
||||||
* [Ruby](scripting/ruby.md)
|
* [Ruby](scripting/ruby.md)
|
||||||
* [Perl](scripting/perl.md)
|
* [Perl](scripting/perl.md)
|
||||||
* [Windows](scripting/windows.md)
|
* [Windows](scripting/windows.md)
|
||||||
* [NodeJS](scripting/NodeJS.md)
|
* [NodeJS](scripting/NodeJS.md)
|
||||||
* [Linux bash](scripting/bash.md)
|
* [Linux bash](scripting/bash.md)
|
||||||
|
|
||||||
[Cats]()
|
|
||||||
|
|
||||||
* [ncat](cats/ncat.md)
|
|
||||||
* [netcat](cats/netcat.md)
|
|
||||||
* [socat](cats/socat.md)
|
|
||||||
|
|
||||||
[Metasploit]()
|
[Metasploit]()
|
||||||
|
|
||||||
* [Meterpreter](msf/meterpreter.md)
|
* [Meterpreter](msf/meterpreter.md)
|
||||||
@ -77,7 +64,6 @@
|
|||||||
|
|
||||||
* [Unix Rosetta Stone](references/rosetta.htm)
|
* [Unix Rosetta Stone](references/rosetta.htm)
|
||||||
|
|
||||||
|
|
||||||
[Links](links.md)
|
[Links](links.md)
|
||||||
|
|
||||||
[gimmick:themechooser](Wiki Theme)
|
[gimmick:themechooser](Wiki Theme)
|
||||||
@ -92,3 +78,4 @@ return false;
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -1,3 +0,0 @@
|
|||||||
# Place Holder
|
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# Place Holder
|
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# Place Holder
|
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
|
||||||
0
presence/linux/index.md
Normal file
0
presence/linux/index.md
Normal file
30
osx/find_files.md → presence/osx/find_files.md
Executable file → Normal file
30
osx/find_files.md → presence/osx/find_files.md
Executable file → Normal file
@ -1,15 +1,15 @@
|
|||||||
# OS X Finding File Commands
|
# OS X Finding File Commands
|
||||||
|
|
||||||
Commands that find files on the filesystem and are usually executed from the context of the shell (`/bin/bash` or `/bin/sh`) prompt.
|
Commands that find files on the filesystem and are usually executed from the context of the shell (`/bin/bash` or `/bin/sh`) prompt.
|
||||||
|
|
||||||
| Command | Description / Importance |
|
| Command | Description / Importance |
|
||||||
| -------- | ------------------------ |
|
| -------- | ------------------------ |
|
||||||
| `find /sbin /usr/sbin /opt /lib` ``echo $PATH` |`'sed s/:/ /g'``` -perm -4000` | Find SUID files. |
|
| `find /sbin /usr/sbin /opt /lib` ``echo $PATH` |`'sed s/:/ /g'``` -perm -4000` | Find SUID files. |
|
||||||
| `for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done` | Lists all the user crontab or scheduled tasks files. |
|
| `for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done` | Lists all the user crontab or scheduled tasks files. |
|
||||||
| `find /var/log -type f -exec ls -la {} \;` | Find all the log files in `/var/log/` |
|
| `find /var/log -type f -exec ls -la {} \;` | Find all the log files in `/var/log/` |
|
||||||
| `ls -alhtr /Volumes` | Display the volumes mounted at `/Volumes` |
|
| `ls -alhtr /Volumes` | Display the volumes mounted at `/Volumes` |
|
||||||
| `ls /Users/*/.ssh/*` | Discover SSH files (keys and such) located in each user's home drive. May require root permissions to view these files in other user's directories. |
|
| `ls /Users/*/.ssh/*` | Discover SSH files (keys and such) located in each user's home drive. May require root permissions to view these files in other user's directories. |
|
||||||
| `locate tar` | `grep [.]tar$` | Finds all files that have a `.tar` extension. Substitute other archive extensions (e.g., `.zip`, `.7z`, `.rar`) or other extensions such as `.sql` or `.conf`. |
|
| `locate tar` | `grep [.]tar$` | Finds all files that have a `.tar` extension. Substitute other archive extensions (e.g., `.zip`, `.7z`, `.rar`) or other extensions such as `.sql` or `.conf`. |
|
||||||
| `locate settings` $#124; `grep [.]php$` | Find all files with the word settings in it and with a `.php` extension. |
|
| `locate settings` $#124; `grep [.]php$` | Find all files with the word settings in it and with a `.php` extension. |
|
||||||
| `locate .properties` $#124; `grep [.]properties` | Finds Java configuration files. |
|
| `locate .properties` $#124; `grep [.]properties` | Finds Java configuration files. |
|
||||||
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# DNS Configuration Issues
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# Insecure Protocols
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# Linx/UNIX Configuration Issues
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# SMTP Configuration Issues
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# SNMP Configuration Issues
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# SSL/TLS Certificate Issues
|
|
||||||
@ -1 +0,0 @@
|
|||||||
# Windows Configuration Issues
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# Place Holder
|
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
# Place Holder
|
|
||||||
|
|
||||||
Content coming. Feel free to submit ;-)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user