From be072ead31636be85c7c3d573f14b67a823517db Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:08:13 -0500 Subject: [PATCH 01/10] first whack at nav reorg --- {linux => 2besorted}/bash.md | 0 {cats => 2besorted/cats}/ncat.md | 0 {cats => 2besorted/cats}/netcat.md | 0 {cats => 2besorted/cats}/socat.md | 0 linux/bulk.md => 2besorted/gdoc_linux.md | 0 osx/bulk.md => 2besorted/gdoc_osx.md | 136 +++++++++--------- {linux => _templates}/cmd_template.md | 0 linux/persistance.md | 3 - navigation.md | 67 ++++----- osx/bash.md | 3 - osx/persistance.md | 3 - osx/privesc.md | 3 - {windows => persistance/windows}/autostart.md | 0 {windows => persistance/windows}/binary.md | 0 {windows => persistance/windows}/cover.md | 0 {windows => pivoting/windows}/remote.md | 0 .../windows}/windows_cmd_network.md | 0 {linux => presence/linux}/blind.md | 0 {linux => presence/linux}/find_files.md | 0 presence/linux/index.md | 0 {linux => presence/linux}/pillage.lst | 0 {osx => presence/osx}/blind.md | 0 {osx => presence/osx}/find_files.md | 30 ++-- {windows => presence/windows}/blind.md | 0 {windows => presence/windows}/files.md | 0 {windows => presence/windows}/find_files.md | 0 windows/cmd.md => presence/windows/index.md | 0 .../windows}/windows_cmd_config.md | 0 linux/privesc.md => privesc/linux/index.md | 0 {windows => privesc/windows}/uac.md | 0 {windows => scripting}/powershell.md | 0 {windows => tech/databases}/mssql.md | 0 {otheros => tech/embedded}/cisco.md | 0 {otheros => tech/embedded}/juniper.md | 0 {otheros => tech/mainframes}/as400.md | 0 {otheros => tech/mainframes}/zos.md | 0 validation/dns.md | 1 - validation/insecure-protocols.md | 1 - validation/linux-unix.md | 1 - validation/smtp.md | 1 - validation/snmp.md | 1 - validation/ssl.md | 1 - validation/windows.md | 1 - windows/persistance.md | 3 - windows/privesc.md | 3 - 45 files changed, 110 insertions(+), 148 deletions(-) rename {linux => 2besorted}/bash.md (100%) rename {cats => 2besorted/cats}/ncat.md (100%) mode change 100755 => 100644 rename {cats => 2besorted/cats}/netcat.md (100%) mode change 100755 => 100644 rename {cats => 2besorted/cats}/socat.md (100%) mode change 100755 => 100644 rename linux/bulk.md => 2besorted/gdoc_linux.md (100%) rename osx/bulk.md => 2besorted/gdoc_osx.md (96%) rename {linux => _templates}/cmd_template.md (100%) delete mode 100644 linux/persistance.md delete mode 100644 osx/bash.md delete mode 100644 osx/persistance.md delete mode 100644 osx/privesc.md rename {windows => persistance/windows}/autostart.md (100%) rename {windows => persistance/windows}/binary.md (100%) rename {windows => persistance/windows}/cover.md (100%) rename {windows => pivoting/windows}/remote.md (100%) rename {windows => pivoting/windows}/windows_cmd_network.md (100%) rename {linux => presence/linux}/blind.md (100%) rename {linux => presence/linux}/find_files.md (100%) create mode 100644 presence/linux/index.md rename {linux => presence/linux}/pillage.lst (100%) rename {osx => presence/osx}/blind.md (100%) rename {osx => presence/osx}/find_files.md (98%) mode change 100755 => 100644 rename {windows => presence/windows}/blind.md (100%) rename {windows => presence/windows}/files.md (100%) rename {windows => presence/windows}/find_files.md (100%) rename windows/cmd.md => presence/windows/index.md (100%) rename {windows => presence/windows}/windows_cmd_config.md (100%) rename linux/privesc.md => privesc/linux/index.md (100%) rename {windows => privesc/windows}/uac.md (100%) rename {windows => scripting}/powershell.md (100%) rename {windows => tech/databases}/mssql.md (100%) rename {otheros => tech/embedded}/cisco.md (100%) rename {otheros => tech/embedded}/juniper.md (100%) rename {otheros => tech/mainframes}/as400.md (100%) rename {otheros => tech/mainframes}/zos.md (100%) delete mode 100644 validation/dns.md delete mode 100644 validation/insecure-protocols.md delete mode 100644 validation/linux-unix.md delete mode 100644 validation/smtp.md delete mode 100644 validation/snmp.md delete mode 100644 validation/ssl.md delete mode 100644 validation/windows.md delete mode 100644 windows/persistance.md delete mode 100644 windows/privesc.md diff --git a/linux/bash.md b/2besorted/bash.md similarity index 100% rename from linux/bash.md rename to 2besorted/bash.md diff --git a/cats/ncat.md b/2besorted/cats/ncat.md old mode 100755 new mode 100644 similarity index 100% rename from cats/ncat.md rename to 2besorted/cats/ncat.md diff --git a/cats/netcat.md b/2besorted/cats/netcat.md old mode 100755 new mode 100644 similarity index 100% rename from cats/netcat.md rename to 2besorted/cats/netcat.md diff --git a/cats/socat.md b/2besorted/cats/socat.md old mode 100755 new mode 100644 similarity index 100% rename from cats/socat.md rename to 2besorted/cats/socat.md diff --git a/linux/bulk.md b/2besorted/gdoc_linux.md similarity index 100% rename from linux/bulk.md rename to 2besorted/gdoc_linux.md diff --git a/osx/bulk.md b/2besorted/gdoc_osx.md similarity index 96% rename from osx/bulk.md rename to 2besorted/gdoc_osx.md index 5d45808..1b3d1e2 100644 --- a/osx/bulk.md +++ b/2besorted/gdoc_osx.md @@ -1,68 +1,68 @@ - -# 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. - ----- - -## Blind Files -(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) - -## System -uname -a -ps aux -ps -aef -id -arch -w -who -a -gcc -v -mysql --version -perl -v -ruby -v -python --version -df -k -mount -last -a -lastlogin (*bsd) -getenforce <- does not work on Lion no idea if this work in previous versions -dmesg -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 -free -m <- does not work on Lion no idea it this work on previous versions -du -h --max-depth=1 / -which nmap (see if it's already installed) -locate bin/nmap -which nc (see if it's already installed) -locate bin/ -whoami -jps -l -java -version - -## Networking -hostname -f -ip addr show -ifconfig -a -route -n -cat /etc/network/interfaces -iptables -L -n -netstat -anop -netstat -r -netstat -nltupw (root with raw sockets) -arp -a -lsof -nPi - -## Per User -ls -alh /Users/*/ -ls -alh /Users/*/.ssh/ -cat /Users/*/.ssh/authorized_keys -cat /Users/*/.ssh/known_hosts -cat /Users/*/.*hist* -find -type f /Users/*/.vnc /Users/*/.subversion -grep ^ssh /Users/*/.*hist* -grep ^telnet `/Users/*/.*hist* -grep ^mysql /Users/*/.*hist* -cat /Users/*/.viminfo -sudo -l # if sudoers is not readable, this sometimes works per user -crontab -l + +# 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. + +---- + +## Blind Files +(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) + +## System +uname -a +ps aux +ps -aef +id +arch +w +who -a +gcc -v +mysql --version +perl -v +ruby -v +python --version +df -k +mount +last -a +lastlogin (*bsd) +getenforce <- does not work on Lion no idea if this work in previous versions +dmesg +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 +free -m <- does not work on Lion no idea it this work on previous versions +du -h --max-depth=1 / +which nmap (see if it's already installed) +locate bin/nmap +which nc (see if it's already installed) +locate bin/ +whoami +jps -l +java -version + +## Networking +hostname -f +ip addr show +ifconfig -a +route -n +cat /etc/network/interfaces +iptables -L -n +netstat -anop +netstat -r +netstat -nltupw (root with raw sockets) +arp -a +lsof -nPi + +## Per User +ls -alh /Users/*/ +ls -alh /Users/*/.ssh/ +cat /Users/*/.ssh/authorized_keys +cat /Users/*/.ssh/known_hosts +cat /Users/*/.*hist* +find -type f /Users/*/.vnc /Users/*/.subversion +grep ^ssh /Users/*/.*hist* +grep ^telnet `/Users/*/.*hist* +grep ^mysql /Users/*/.*hist* +cat /Users/*/.viminfo +sudo -l # if sudoers is not readable, this sometimes works per user +crontab -l diff --git a/linux/cmd_template.md b/_templates/cmd_template.md similarity index 100% rename from linux/cmd_template.md rename to _templates/cmd_template.md diff --git a/linux/persistance.md b/linux/persistance.md deleted file mode 100644 index 1033b81..0000000 --- a/linux/persistance.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) diff --git a/navigation.md b/navigation.md index 8afc5ab..6e2c769 100644 --- a/navigation.md +++ b/navigation.md @@ -2,68 +2,55 @@ [Home](index.md) -[Windows]() +[Presence]() - * [Autostart Locations](windows/autostart.md) - * [Binary Planting](windows/binary.md) - * [CMD Commands](windows/cmd.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) + * [Windows](presence/windows/index.md) + * [Linux](presence/linux/index.md) + * [OSX](presence/osx/index.md) - -[Linux]() +[Persistence]() - * [Google Doc Content](linux/bulk.md) - * [Files - Blind](linux/blind.md) - * [Files - Finding](linux/find_files.md) - * [SH/BASH Commands](linux/bash.md) - * [Persistance](linux/persistance.md) - * [Privilege Escalation](linux/privesc.md) + * [Windows](persistence/windows/index.md) + * [Linux](persistence/linux/index.md) + * [OSX](persistence/osx/index.md) +[Pivoting]() -[OSX]() + * [Windows](pivoting/windows/index.md) + * [Linux](pivoting/linux/index.md) + * [OSX](pivoting/osx/index.md) - * [Bash Commands](osx/bash.md) - * [Files - Blind](osx/blind.md) - * [Files - Finding](osx/find_files.md) - * [Persistance](osx/persistance.md) - * [Privilege Escalation](osx/privesc.md) +[Privilege Escalation]() + + * [Windows](privesc/windows/index.md) + * [Linux](privesc/linux/index.md) + * [OSX](privesc/osx/index.md) [Mobile]() * [Android](mobile/android.md) * [iOS](mobile/ios.md) -[Other OSs]() +[Technologies]() - * [zOS](otheros/zos.md) - * [AS/400](otheros/as400.md) - * [Cisco](otheros/cisco.md) - * [Juniper](otheros/juniper.md) + * [Mainframes](tech/mainframes/index.md) + * [Embedded OSs](tech/embedded/index.md) + * [Web Languages](tech/web/languages.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]() * [Python](scripting/python.md) + * [Powershell](scripting/powershell.md) * [Ruby](scripting/ruby.md) * [Perl](scripting/perl.md) * [Windows](scripting/windows.md) * [NodeJS](scripting/NodeJS.md) * [Linux bash](scripting/bash.md) -[Cats]() - - * [ncat](cats/ncat.md) - * [netcat](cats/netcat.md) - * [socat](cats/socat.md) - [Metasploit]() * [Meterpreter](msf/meterpreter.md) @@ -77,7 +64,6 @@ * [Unix Rosetta Stone](references/rosetta.htm) - [Links](links.md) [gimmick:themechooser](Wiki Theme) @@ -92,3 +78,4 @@ return false; }); }); + diff --git a/osx/bash.md b/osx/bash.md deleted file mode 100644 index 1033b81..0000000 --- a/osx/bash.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) diff --git a/osx/persistance.md b/osx/persistance.md deleted file mode 100644 index 1033b81..0000000 --- a/osx/persistance.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) diff --git a/osx/privesc.md b/osx/privesc.md deleted file mode 100644 index 1033b81..0000000 --- a/osx/privesc.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) diff --git a/windows/autostart.md b/persistance/windows/autostart.md similarity index 100% rename from windows/autostart.md rename to persistance/windows/autostart.md diff --git a/windows/binary.md b/persistance/windows/binary.md similarity index 100% rename from windows/binary.md rename to persistance/windows/binary.md diff --git a/windows/cover.md b/persistance/windows/cover.md similarity index 100% rename from windows/cover.md rename to persistance/windows/cover.md diff --git a/windows/remote.md b/pivoting/windows/remote.md similarity index 100% rename from windows/remote.md rename to pivoting/windows/remote.md diff --git a/windows/windows_cmd_network.md b/pivoting/windows/windows_cmd_network.md similarity index 100% rename from windows/windows_cmd_network.md rename to pivoting/windows/windows_cmd_network.md diff --git a/linux/blind.md b/presence/linux/blind.md similarity index 100% rename from linux/blind.md rename to presence/linux/blind.md diff --git a/linux/find_files.md b/presence/linux/find_files.md similarity index 100% rename from linux/find_files.md rename to presence/linux/find_files.md diff --git a/presence/linux/index.md b/presence/linux/index.md new file mode 100644 index 0000000..e69de29 diff --git a/linux/pillage.lst b/presence/linux/pillage.lst similarity index 100% rename from linux/pillage.lst rename to presence/linux/pillage.lst diff --git a/osx/blind.md b/presence/osx/blind.md similarity index 100% rename from osx/blind.md rename to presence/osx/blind.md diff --git a/osx/find_files.md b/presence/osx/find_files.md old mode 100755 new mode 100644 similarity index 98% rename from osx/find_files.md rename to presence/osx/find_files.md index 765b0c4..e6f5ed4 --- a/osx/find_files.md +++ b/presence/osx/find_files.md @@ -1,15 +1,15 @@ -# 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. - -| Command | Description / Importance | -| -------- | ------------------------ | -| `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. | -| `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 /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 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. | - +# 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. + +| Command | Description / Importance | +| -------- | ------------------------ | +| `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. | +| `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 /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 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. | + diff --git a/windows/blind.md b/presence/windows/blind.md similarity index 100% rename from windows/blind.md rename to presence/windows/blind.md diff --git a/windows/files.md b/presence/windows/files.md similarity index 100% rename from windows/files.md rename to presence/windows/files.md diff --git a/windows/find_files.md b/presence/windows/find_files.md similarity index 100% rename from windows/find_files.md rename to presence/windows/find_files.md diff --git a/windows/cmd.md b/presence/windows/index.md similarity index 100% rename from windows/cmd.md rename to presence/windows/index.md diff --git a/windows/windows_cmd_config.md b/presence/windows/windows_cmd_config.md similarity index 100% rename from windows/windows_cmd_config.md rename to presence/windows/windows_cmd_config.md diff --git a/linux/privesc.md b/privesc/linux/index.md similarity index 100% rename from linux/privesc.md rename to privesc/linux/index.md diff --git a/windows/uac.md b/privesc/windows/uac.md similarity index 100% rename from windows/uac.md rename to privesc/windows/uac.md diff --git a/windows/powershell.md b/scripting/powershell.md similarity index 100% rename from windows/powershell.md rename to scripting/powershell.md diff --git a/windows/mssql.md b/tech/databases/mssql.md similarity index 100% rename from windows/mssql.md rename to tech/databases/mssql.md diff --git a/otheros/cisco.md b/tech/embedded/cisco.md similarity index 100% rename from otheros/cisco.md rename to tech/embedded/cisco.md diff --git a/otheros/juniper.md b/tech/embedded/juniper.md similarity index 100% rename from otheros/juniper.md rename to tech/embedded/juniper.md diff --git a/otheros/as400.md b/tech/mainframes/as400.md similarity index 100% rename from otheros/as400.md rename to tech/mainframes/as400.md diff --git a/otheros/zos.md b/tech/mainframes/zos.md similarity index 100% rename from otheros/zos.md rename to tech/mainframes/zos.md diff --git a/validation/dns.md b/validation/dns.md deleted file mode 100644 index 0fb4a93..0000000 --- a/validation/dns.md +++ /dev/null @@ -1 +0,0 @@ -# DNS Configuration Issues diff --git a/validation/insecure-protocols.md b/validation/insecure-protocols.md deleted file mode 100644 index 8354a50..0000000 --- a/validation/insecure-protocols.md +++ /dev/null @@ -1 +0,0 @@ -# Insecure Protocols diff --git a/validation/linux-unix.md b/validation/linux-unix.md deleted file mode 100644 index 28109b7..0000000 --- a/validation/linux-unix.md +++ /dev/null @@ -1 +0,0 @@ -# Linx/UNIX Configuration Issues diff --git a/validation/smtp.md b/validation/smtp.md deleted file mode 100644 index 48a365e..0000000 --- a/validation/smtp.md +++ /dev/null @@ -1 +0,0 @@ -# SMTP Configuration Issues diff --git a/validation/snmp.md b/validation/snmp.md deleted file mode 100644 index 87c69a9..0000000 --- a/validation/snmp.md +++ /dev/null @@ -1 +0,0 @@ -# SNMP Configuration Issues diff --git a/validation/ssl.md b/validation/ssl.md deleted file mode 100644 index 772e2fc..0000000 --- a/validation/ssl.md +++ /dev/null @@ -1 +0,0 @@ -# SSL/TLS Certificate Issues diff --git a/validation/windows.md b/validation/windows.md deleted file mode 100644 index 3ab659c..0000000 --- a/validation/windows.md +++ /dev/null @@ -1 +0,0 @@ -# Windows Configuration Issues diff --git a/windows/persistance.md b/windows/persistance.md deleted file mode 100644 index 1033b81..0000000 --- a/windows/persistance.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) diff --git a/windows/privesc.md b/windows/privesc.md deleted file mode 100644 index 1033b81..0000000 --- a/windows/privesc.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) From d91dab73fec84ecbe31dec696165944d40aa2c13 Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:11:27 -0500 Subject: [PATCH 02/10] move mobile under tech to save nav space --- 2besorted/bash.md | 3 --- navigation.md | 8 ++++++++ {mobile => tech/mobile}/android.md | 0 {mobile => tech/mobile}/ios.md | 0 4 files changed, 8 insertions(+), 3 deletions(-) delete mode 100644 2besorted/bash.md rename {mobile => tech/mobile}/android.md (100%) rename {mobile => tech/mobile}/ios.md (100%) diff --git a/2besorted/bash.md b/2besorted/bash.md deleted file mode 100644 index 1033b81..0000000 --- a/2besorted/bash.md +++ /dev/null @@ -1,3 +0,0 @@ -# Place Holder - -Content coming. Feel free to submit ;-) diff --git a/navigation.md b/navigation.md index 6e2c769..11bca20 100644 --- a/navigation.md +++ b/navigation.md @@ -33,6 +33,7 @@ [Technologies]() + * [Mobile](tech/mobile/index.md) * [Mainframes](tech/mainframes/index.md) * [Embedded OSs](tech/embedded/index.md) * [Web Languages](tech/web/languages.md) @@ -41,6 +42,13 @@ * [Network Services](tech/services/index.md) * [Databases](tech/db/index.md) +[Binaries]() + + * [Windows](bins/windows/index.md) + * [Linux](bins/linux/index.md) + * [OSX](bins/osx/index.md) + * [Universal](bins/multi/index.md) + [Scripting]() * [Python](scripting/python.md) diff --git a/mobile/android.md b/tech/mobile/android.md similarity index 100% rename from mobile/android.md rename to tech/mobile/android.md diff --git a/mobile/ios.md b/tech/mobile/ios.md similarity index 100% rename from mobile/ios.md rename to tech/mobile/ios.md From c73c0ecf3c741f35c1ed301e651f51344505d9e9 Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:12:04 -0500 Subject: [PATCH 03/10] helps to actually remove the nav item --- navigation.md | 5 ----- 1 file changed, 5 deletions(-) diff --git a/navigation.md b/navigation.md index 11bca20..1365889 100644 --- a/navigation.md +++ b/navigation.md @@ -26,11 +26,6 @@ * [Linux](privesc/linux/index.md) * [OSX](privesc/osx/index.md) -[Mobile]() - - * [Android](mobile/android.md) - * [iOS](mobile/ios.md) - [Technologies]() * [Mobile](tech/mobile/index.md) From 8d95cfa0569bcff63409e6bd41b73b83b11650ec Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:13:42 -0500 Subject: [PATCH 04/10] sync up README.md with index.md --- README.md | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index a3d8742..e567afe 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,8 @@ -Post Exploitation Wiki -====================== - -This wiki is powered by MDwiki which is a self contained wiki in a single HTML file. - -All you have to do to use the wiki is clone the repo to anywhere you can open HTML, served or local. - -Contributors please see here: https://github.com/pwnwiki/pwnwiki.github.io/wiki/Wiki-contributor +## PwnWiki.io is a collection TTPs (tools, tactics, and procedures) for what to do after access has been gained. ### Live Online Copy: -You can find a copy of the project online at: http://pwnwiki.io/. If you are reading this from the live website and want to get to the Github repository click here -> https://github.com/pwnwiki/pwnwiki.github.io. +You can find a copy of the project online at: http://PwnWiki.io ### Offline Use: @@ -17,19 +10,24 @@ You can find a copy of the project online at: http://pwnwiki.io/. If you are rea 2. Open index.html 3. Most modern browsers don't allow the access of local files from a locally loaded HTML file. On Windows you can use [Mongoose Tiny](http://cesanta.com/downloads.html) or [HFS](http://www.rejetto.com/hfs/) to host the files locally. On OSX and Linux `python -m SimpleHTTPServer` seems to work just fine. -### Reference Binaries: +#### Referenced tools can be found here: https://github.com/mubix/post-exploitation (If they aren't built into the OS) -If the binary referenced isn't built into the respective OS, can be found here: -https://github.com/mubix/post-exploitation +- - - - - - +#### Submitting Content +We want/need your help! Please contribute to this project is via GitHub (https://github.com/pwnwiki/pwnwiki.github.io). That allows us to get your project-ready content incorporated into the wiki fast. -#### Known issue with Chrome: +We realize that not everyone can/wants to submit content via GitHub and that's cool. If your go-to content is not up here and you don't want to spend the time becoming a Git Jedi, just visit our [Google Form](https://docs.google.com/forms/d/1N7-jRjnUXoz-UwB2h0du2IrskFJW6hBGs4YsTwvEncE/viewform). Due to the large amount of submissions and content, there may be a delay between your posting and us getting your content into the project. Thanks for your submissions and your patience! -Chrome doesn't allow local file access from local files loaded in the -browser (ala index.html loading index.md). There are two ways around this. Use a web server to host -it (Apache, nginx, python SimpleHTTPServer, etc) or start Chrome with the `--allow-file-access-from-files` -argument. See here for more details: http://dynalon.github.io/mdwiki/#!faq.md +- - - - - - +Curators: + * [@mubix](https://twitter.com/mubix) [gimmick:TwitterFollow](@mubix) + * [@WebBreacher](https://twitter.com/webbreacher) [gimmick:TwitterFollow](@WebBreacher) + * [@tekwizz123](https://twitter.com/tekwizz123) [gimmick:TwitterFollow](@tekwizz123) + * [@jakx_](https://twitter.com/jakx_) [gimmick:TwitterFollow](@jakx_) + * [@TheColonial](https://twitter.com/TheColonial) [gimmick:TwitterFollow](@TheColonial) + * [@Wireghoul](https://twitter.com/Wireghoul) [gimmick:TwitterFollow](@Wireghoul) + +If you would like to become a curator, please contact [mubix@hak5.org](mailto:mubix@hak5.org) -### More info about MDwiki: - -http://dynalon.github.io/mdwiki/#!index.md +[gimmick:ForkMeOnGitHub ({ color: 'red', position: 'right' })](http://www.github.com/pwnwiki/pwnwiki.github.io/) From ddf7fcbd49d8c862b84171026068e10142f83c65 Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:15:34 -0500 Subject: [PATCH 05/10] save a bit more, move links under references --- navigation.md | 3 +-- links.md => references/links.md | 0 2 files changed, 1 insertion(+), 2 deletions(-) rename links.md => references/links.md (100%) diff --git a/navigation.md b/navigation.md index 1365889..1afee7f 100644 --- a/navigation.md +++ b/navigation.md @@ -66,8 +66,7 @@ [References]() * [Unix Rosetta Stone](references/rosetta.htm) - -[Links](links.md) + * [Links](links.md) [gimmick:themechooser](Wiki Theme) diff --git a/links.md b/references/links.md similarity index 100% rename from links.md rename to references/links.md From 66c6a89dd2c0b4bc1c2cad74066bfd7ca80e3cdb Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:16:53 -0500 Subject: [PATCH 06/10] add contribute page link and fix links link --- navigation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/navigation.md b/navigation.md index 1afee7f..7bf963b 100644 --- a/navigation.md +++ b/navigation.md @@ -65,8 +65,9 @@ [References]() + * [How to Contribute](references/contribute.md) + * [Links](references/links.md) * [Unix Rosetta Stone](references/rosetta.htm) - * [Links](links.md) [gimmick:themechooser](Wiki Theme) From 60c312b5793c7a74750f18f93ff9461e2fc32226 Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:29:04 -0500 Subject: [PATCH 07/10] put db stuff in correct directory --- tech/db/index.md | 15 +++++++++++++++ tech/{databases => db}/mssql.md | 0 2 files changed, 15 insertions(+) create mode 100644 tech/db/index.md rename tech/{databases => db}/mssql.md (100%) diff --git a/tech/db/index.md b/tech/db/index.md new file mode 100644 index 0000000..84c47b1 --- /dev/null +++ b/tech/db/index.md @@ -0,0 +1,15 @@ +# PwnWiki - Databases + +[Home](../../index.html) + +[MSSQL](mssql.md) + +[MySQL](mysql.md) + +[Postgresql](postgres.md) + +[DB2](db2.md) + +[NoSQL]() + + * [Redis](redis.md) \ No newline at end of file diff --git a/tech/databases/mssql.md b/tech/db/mssql.md similarity index 100% rename from tech/databases/mssql.md rename to tech/db/mssql.md From df2e5e7689a2ce562d531c4b1a2c50ddb8fdfe2f Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:49:17 -0500 Subject: [PATCH 08/10] add web stuff --- tech/services/index.md | 9 +++++++++ tech/services/rlogin.md | 0 tech/web/apps.md | 4 ++++ tech/web/languages.md | 9 +++++++++ tech/web/servers.md | 8 ++++++++ 5 files changed, 30 insertions(+) create mode 100644 tech/services/index.md create mode 100644 tech/services/rlogin.md create mode 100644 tech/web/apps.md create mode 100644 tech/web/languages.md create mode 100644 tech/web/servers.md diff --git a/tech/services/index.md b/tech/services/index.md new file mode 100644 index 0000000..05a0f7f --- /dev/null +++ b/tech/services/index.md @@ -0,0 +1,9 @@ +# Network Services + +## rlogin + +## telnet + +## dns + +## diff --git a/tech/services/rlogin.md b/tech/services/rlogin.md new file mode 100644 index 0000000..e69de29 diff --git a/tech/web/apps.md b/tech/web/apps.md new file mode 100644 index 0000000..5923198 --- /dev/null +++ b/tech/web/apps.md @@ -0,0 +1,4 @@ +# Web Applications + + +## \ No newline at end of file diff --git a/tech/web/languages.md b/tech/web/languages.md new file mode 100644 index 0000000..5f2257a --- /dev/null +++ b/tech/web/languages.md @@ -0,0 +1,9 @@ +# Web Languages + +## PHP + +## ASP + +## ASPX + +## ColdFusion diff --git a/tech/web/servers.md b/tech/web/servers.md new file mode 100644 index 0000000..36e3544 --- /dev/null +++ b/tech/web/servers.md @@ -0,0 +1,8 @@ +# Web Servers + +## IIS + +## Apache + +## Lotus Domino + From ac6eebc2e73d9ef9c8d7b79cb8f979c07f40cb4d Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:51:04 -0500 Subject: [PATCH 09/10] add novell without a better place to put it --- navigation.md | 1 + tech/novell.md | 0 2 files changed, 1 insertion(+) create mode 100644 tech/novell.md diff --git a/navigation.md b/navigation.md index 7bf963b..e832b4d 100644 --- a/navigation.md +++ b/navigation.md @@ -36,6 +36,7 @@ * [Web Servers](tech/web/servers.md) * [Network Services](tech/services/index.md) * [Databases](tech/db/index.md) + * [Novell](tech/novell.md) [Binaries]() diff --git a/tech/novell.md b/tech/novell.md new file mode 100644 index 0000000..e69de29 From e0bd2eb0514424d4b5419b7f84525ae1ed1598fc Mon Sep 17 00:00:00 2001 From: Rob Fuller Date: Thu, 26 Dec 2013 13:52:49 -0500 Subject: [PATCH 10/10] add samb --- tech/services/index.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/tech/services/index.md b/tech/services/index.md index 05a0f7f..dcb59d2 100644 --- a/tech/services/index.md +++ b/tech/services/index.md @@ -1,9 +1,15 @@ # Network Services +## SMB/CIFS/Samba + ## rlogin ## telnet ## dns -## +## nfs + +## x11 + +