diff --git a/index.md b/index.md index 6dab791..2510e2f 100644 --- a/index.md +++ b/index.md @@ -32,6 +32,7 @@ Curators: * [@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) diff --git a/linux/cmd_template.md b/linux/cmd_template.md new file mode 100644 index 0000000..bc945cd --- /dev/null +++ b/linux/cmd_template.md @@ -0,0 +1,13 @@ +---- + +## command +### Argument example + * **Command with arguments**: `command --help` + * **Description**: Displays files recursively~ + * **Output**: + *
command --help
+ ...
+ ...
+ ...
+ root@localhost:~/ ls -l /
+ total 429820
+ drwxr-xr-x 2 root root 4096 2013-08-23 02:49 bin
+ drwxr-xr-x 3 root root 4096 2013-08-23 03:18 boot
+ drwxr-xr-x 2 root root 4096 2011-03-05 11:41 cdrom
+ drwxr-xr-x 15 root root 4600 2013-11-25 15:43 dev
+ drwxr-xr-x 158 root root 12288 2013-12-04 15:54 etc
+ drwxr-xr-x 4 root root 4096 2013-05-02 07:19 home
+ lrwxrwxrwx 1 root root 21 2012-03-01 08:11 initrd.img -> boot/initrd.img-3.2.6
+ drwxr-xr-x 25 root root 16384 2013-08-23 02:50 lib
+ drwx------ 2 root root 16384 2011-03-05 11:40 lost+found
+ drwxr-xr-x 4 root root 4096 2013-08-04 22:31 media
+ drwxr-xr-x 3 root root 4096 2012-03-04 19:14 mnt
+ -rw-r--r-- 1 root root 1045 2012-08-13 23:52 nis
+ drwxr-xr-x 12 root root 4096 2013-08-23 03:02 opt
+ drwxr-xr-x 25 root root 4096 2013-08-23 02:54 pentest
+ dr-xr-xr-x 148 root root 0 2013-11-25 15:36 proc
+ drwx------ 77 root root 4096 2013-12-04 15:58 root
+ -rw-r--r-- 1 root root 440006761 2012-10-01 00:09 root.tgz
+ drwxr-xr-x 2 root root 12288 2013-08-23 02:51 sbin
+ drwxr-xr-x 2 root root 4096 2009-12-05 16:55 selinux
+ drwxr-xr-x 4 root root 4096 2011-05-10 03:42 share
+ drwxr-xr-x 4 root root 4096 2013-04-17 21:25 srv
+ drwxr-xr-x 12 root root 0 2013-11-25 15:36 sys
+ drwxrwxrwt 12 root root 4096 2013-12-04 01:00 tmp
+ drwxr-xr-x 13 root root 4096 2013-08-23 02:52 usr
+ drwxr-xr-x 16 root root 4096 2011-06-08 09:16 var
+ lrwxrwxrwx 1 root root 18 2012-03-01 08:11 vmlinuz -> boot/vmlinuz-3.2.6
+ root@localhost:~/ find /etc -name "issue*"
+ /etc/issue.net
+ /etc/issue
+ /etc/issue.dpkg-dist
+ root@localhost:~/ locate ifconfig
+ /pentest/forensics/volatility/volatility/plugins/linux/ifconfig.py
+ /pentest/forensics/volatility/volatility/plugins/linux/ifconfig.pyc
+ /sbin/ifconfig
+ /usr/share/man/de/man8/ifconfig.8.gz
+ /usr/share/man/fr/man8/ifconfig.8.gz
+ /usr/share/man/man8/ifconfig.8.gz
+ /usr/share/man/pt_BR/man8/ifconfig.8.gz
+