Commit Graph

441 Commits

Author SHA1 Message Date
ImmortalPC
4c31138bbf Make cheat working with python3 :) 2014-04-18 18:43:17 +02:00
ImmortalPC
4703463a7c [DD] Watch the progress of dd with pv and zenity 2014-04-18 18:04:57 +02:00
ImmortalPC
d87cf0ae81 [APT−GET] Show apt-get installed packages 2014-04-18 18:04:25 +02:00
ImmortalPC
74c6c9b01b [DD] Add some tricks for dd 2014-04-18 17:12:39 +02:00
ImmortalPC
1c79ab5ed6 [APT-GET] Donwload deb withtou installing it 2014-04-18 11:23:23 +02:00
ImmortalPC
bfaf39d7ab [NMAP] Speed up nmap scan 2014-04-18 11:22:50 +02:00
ImmortalPC
5805d2c52e [NMAP] Correct a bug 2014-04-02 11:14:18 +02:00
ImmortalPC
041bcd2f63 [FIND] add a cheat to find all files that have the same node (hard link) as MY_FILE 2014-04-02 11:12:09 +02:00
ImmortalPC
1e7ee5b7fa [NMAP] Update nmap 2014-04-01 19:18:19 +02:00
ImmortalPC
c5f1d5c1ac [IPTABLES] Add some cheats for iptables 2014-03-31 00:03:43 +02:00
ImmortalPC
65c50bc5b3 [SSH] add a cheat for ssh (encryption) 2014-03-27 15:44:06 +01:00
ImmortalPC
b4c5b7f2f9 [IPTABLES,TCPDUMP] Add cheats for iptables and tcpdump 2014-03-25 14:29:53 +01:00
Chris Lane
0ab7dcdcc9 Merge pull request #149 from ssherar/patch-1
Adding two invaluable commands to tmux cheatsheet
2014-03-19 22:34:20 -04:00
Chris Lane
04eabeabd5 Merge pull request #148 from brutus/master
include commands to mirror locally
2014-03-19 22:33:30 -04:00
Chris Lane
d02e0d98a8 Merge pull request #150 from ImmortalPC/master
[PS,GREP] Exclude grep from your grepped output of ps.
2014-03-19 22:29:29 -04:00
ImmortalPC
b2e5f6d2cf [XARGS] Add xargs example 2014-03-10 21:47:19 +01:00
Carl Unsworth
60eff9308c - Cheatsheets added for a couple of my favourite commands:
- rsync: file copy and backup multi-tool
   - indent: one liner to nicely format C/C++ source.
2014-03-07 14:29:10 -08:00
ImmortalPC
c0a51a2d0f [PS,GREP] Exclude grep from your grepped output of ps. 2014-03-07 14:52:50 +01:00
Brutus
87a594535a Update wget 2014-03-06 14:21:56 +01:00
Brutus
af8eb721be Update wget 2014-03-06 14:20:52 +01:00
Sam Sherar
b7347a9409 Adding two invaluable commands to tmux cheatsheet
* Detaching an already attached tmux session - great for when you are moving from a phone for example to a laptop and want to utilise the whole real estate you have.
* Reloading the configuration file on the fly by using the colon menu
2014-03-04 19:24:22 +00:00
Brutus
4512e5fc44 include commands to mirror locally
maybe better use ``wget -mk -w 10 http://path.to.the/page.html`` to be nice?
2014-02-26 15:09:37 +01:00
ImmortalPC
f3342373cd [TAR] Add a new command in tar 2014-02-15 19:46:46 +01:00
David M
0a240c6ab6 add cheat sheet for journalctl 2014-02-05 10:26:04 -05:00
Marlon Landaverde
3b78250404 adds how to wget a file into a specific directory 2014-01-19 15:06:42 -05:00
Chris Lane
73dc4182a9 Merge pull request #139 from ImmortalPC/master
[Git:change] Add a command to show a file as it appeared at <commit id>.
2014-01-10 18:56:17 -08:00
ImmortalPC
e131dce6bb [Git:change] Add a command to show a file as it appeared at <commit id>. 2014-01-07 11:33:36 +01:00
Chris Lane
16c31c11fe Merge pull request #138 from fuzzgun/master
Added cheat sheet for irssi
2013-12-27 10:23:25 -08:00
Bob Mottram
1c081bd83c Added cheat sheet for irssi 2013-12-27 15:27:47 +00:00
ImmortalPC
2acf73476c Merge remote-tracking branch 'upstream/master' 2013-12-25 20:09:33 +01:00
Chris Lane
e63e7b0e3c Merge pull request #136 from andrewjkerr/additional-cheatsheets
Added cheatsheets for markdown, ncat, and sqlmap.
2013-12-23 11:01:01 -08:00
Andrew Kerr
c8f6b0abb1 Added cheatsheets for markdown, ncat, and sqlmap.
Some cheatsheets that I created for a project for CIS4930, Ethical
Hacking and Penetration Testing. On request of the professor, I will be
sending a pull request with these cheatsheets.
2013-12-16 01:50:12 -05:00
ImmortalPC
90be14965b Add fun with ascii art 2013-12-10 10:19:49 +01:00
ImmortalPC
ccf3eddba0 [Change] Add "not this dir" into find examples 2013-12-05 17:24:29 +01:00
Erethon
7afb33aee4 Update and some new examples
* Update a mistake in ifconfig
* Add example for a SOCKS proxy in ssh
* Add an example for mounting a NFS dir in mount
* Add a description for git blame
* Add some examples in grep
* Add example for specifing an interface in dhclient
* Add a description for apt-get install
* Add some commands in apt-cache
* Add an example of pretty printing jsons using python
2013-12-03 22:32:26 +02:00
Chris Lane
d8ff70dd57 Merge pull request #133 from Mic92/patch-4
add crontab examples
2013-12-01 10:00:55 -08:00
Chris Lane
01b1cddd04 Merge pull request #132 from amitsaha/lsof_enhancements
Enhancements to 'lsof' cheatsheet.
2013-12-01 10:00:15 -08:00
Chris Lane
ed4470e582 Merge pull request #134 from amitsaha/strace
Add cheatsheet for strace
2013-12-01 09:59:01 -08:00
Chris Lane
56cde2f6e5 Merge pull request #131 from lucaswerkmeister/patch-1
Add a gdb cheat sheet
2013-12-01 09:58:26 -08:00
Amit Saha
d7bc5507ba Add cheatsheet for strace 2013-11-27 11:47:40 +10:00
Jörg Thalheim
cfb9603439 crontab: fix typo in comment 2013-11-26 18:13:16 +01:00
Jörg Thalheim
ccc3c0b878 add crontab examples 2013-11-26 14:30:46 +01:00
Amit Saha
94a147ba77 Enhancements to 'lsof' cheatsheet. 2013-11-26 13:20:24 +10:00
Lucas Werkmeister
1f2ae23628 Add a gdb cheat sheet 2013-11-25 23:19:11 +01:00
ImmortalPC
c5ecad85fc [Change] GCC Add some samples 2013-11-25 20:20:12 +01:00
ImmortalPC
8a3cd5dff2 [Change] Add new example for wget 2013-11-25 20:07:32 +01:00
ImmortalPC
f42d28088c [Change] grep Add find in files 2013-11-25 13:44:30 +01:00
ImmortalPC
ad744eea9f [Python] Add basic SMTP server 2013-11-25 00:52:17 +01:00
ImmortalPC
663d72012d [Add] dd 2013-11-18 10:08:18 +01:00
ImmortalPC
6762bae866 Add warning on netstat: netstat is deprecated and add the new command. 2013-11-13 23:07:00 +01:00
ImmortalPC
3b48257b45 Correct description for python 2013-11-13 22:55:19 +01:00
ImmortalPC
a200fdd52d Correct description for python 2013-11-13 22:52:06 +01:00
ImmortalPC
ef644d42ec Add python 2013-11-13 22:48:32 +01:00
Chris Lane
d8c723681a Graceful failure on failed copy to DEFAULT_CHEAT_DIR
Pull request #108 added the option to automatically copy an
otherwise-uneditable cheatsheet to your DEFAULT_CHEAT_DIR upon an edit
request. This is a minor tweak that implements some graceful failing if
the DEFAULT_CHEAT_DIR does not exist.
2013-11-11 18:10:00 -05:00
Chris Lane
3234d21654 Fixing filename error in setup.py
I slightly borked a merge conflict a moment ago.
2013-11-11 17:48:06 -05:00
Chris Lane
6cae837a2f Merge branch 'master' of https://github.com/0rax/cheat into 0rax-master
* 'master' of https://github.com/0rax/cheat:
  change block generator not to held block is they are empty + minor pep8 refacto (pylint:8.85/10)
  remove debug
  indent block fail :x, no more triple output
  Some minor modification (open inside the generator for better readability) + one bug fixe (the last block wasnt yiel by the generator)
  Following #128 talk about how output should be made for search. Just changed the way on how the search function output the result, no more ala grep output. Cheatsheets are now parsed [by CheatSheets.__parse_cheat_command_block(self, cheat_fp)] into block (separated by newline), i have seen that all block in cheatsheets are delimited by a blank line, so instead of parsing from first consecutive # to last consecutive command, an output that is not used by all sheets (reference to "7z" cheatfile). And so the block are parsed by begin of the document to blanck line to end of the document. Finally the output is made by indenting the block content by 4 spaces + the title of the sheet on the top. This is a way to handle subcommands in my mind (search "git commit" and you now have all what you want)
  Added search function into cheat, used a grep like output, if needed it could be changed, discussion is open inside #128 issue
  fix edit autocomplete (just dont show description of -e/--edit option and i dont know why
  Add hint to use sudo when creation fail of sheet.
  In response to Issue #108: Added option to copy sheet while not editable.
  Added autocompletion for fish shell

Conflicts:
	setup.py
2013-11-11 17:42:48 -05:00
Chris Lane
e2d10680db Trivial formatting changes on vim cheatsheet
Changed some tabs to spaces, etc.
2013-11-11 17:34:45 -05:00
Chris Lane
967fa0cedf Merge branch 'master' of https://github.com/7histle/cheat into 7histle-master
* 'master' of https://github.com/7histle/cheat:
  some new mov vim cmds
2013-11-11 17:33:49 -05:00
Chris Lane
b9c60a530a Merge pull request #117 from iamsudip/gitpatch2
Added cheats
2013-11-11 14:30:35 -08:00
Chris Lane
73a8b99110 Merge pull request #126 from Mic92/patch-3
wget: continue flag
2013-11-11 14:29:25 -08:00
Chris Lane
3b604d0baa Merge pull request #127 from Mic92/master
bash: extend switch case example
2013-11-11 14:28:30 -08:00
0rax
fc2bb05f7b change block generator not to held block is they are empty + minor pep8 refacto (pylint:8.85/10) 2013-11-07 11:23:51 +01:00
0rax
b264c19491 remove debug 2013-11-07 00:42:37 +01:00
0rax
4c5bd8efa5 indent block fail :x, no more triple output 2013-11-07 00:41:36 +01:00
0rax
69428a7279 Some minor modification (open inside the generator for better readability) + one bug fixe (the last block wasnt yiel by the generator) 2013-11-07 00:34:37 +01:00
0rax
d85fab763b Following #128 talk about how output should be made for search. Just changed the way on how the search function output the result, no more ala grep output.
Cheatsheets are now parsed [by CheatSheets.__parse_cheat_command_block(self, cheat_fp)] into block (separated by newline), i have seen that all block in cheatsheets are delimited by a blank line, so instead of parsing from first consecutive # to last consecutive command, an output that is not used by all sheets (reference to "7z" cheatfile).
And so the block are parsed by begin of the document to blanck line to end of the document.
Finally the output is made by indenting the block content by 4 spaces + the title of the sheet on the top.
This is a way to handle subcommands in my mind (search "git commit" and you now have all what you want)
2013-11-07 00:23:54 +01:00
0rax
b1212052f7 Added search function into cheat, used a grep like output, if needed it could be changed, discussion is open inside #128 issue 2013-11-06 00:36:49 +01:00
Jörg Thalheim
3b0535833b bash: extend switch case example 2013-11-03 20:26:56 +01:00
Jörg Thalheim
08f28b5468 wget: continue flag 2013-11-03 20:19:27 +01:00
Chris Lane
e81088d379 Merge pull request #120 from Mic92/patch-2
openssl: command to show certificate infos
2013-11-03 10:54:34 -08:00
Chris Lane
931ce7a579 Merge pull request #125 from fmunch/tail
Added tail cheatsheet
2013-11-03 10:52:26 -08:00
Chris Lane
e17fa47655 Merge pull request #119 from amitsaha/systemctl
systemctl cheat
2013-11-03 10:51:43 -08:00
Florent Munch
8d5954268d Added tail cheatsheet 2013-11-01 15:42:56 +01:00
7histle
b8eed82e84 some new mov vim cmds 2013-10-31 19:09:51 +04:00
Jörg Thalheim
9f50f3b310 openssl: move note about self-signed certificates up
commit b848b2a607 inserted additional commands to show certificate, which are related to the comment.
2013-10-28 18:22:55 +01:00
Jörg Thalheim
b848b2a607 openssl: command to show certificate infos
Did you ever was on a server, but did not remember, what the certificate is for?
2013-10-28 13:16:01 +01:00
Amit Saha
bbbcfe98f9 systemctl cheat 2013-10-28 10:25:34 +10:00
iamsudip
c7f5215dfb Added cheats 2013-10-24 09:31:42 +05:30
Chris Lane
c6441524b0 Git cheatsheet: trivial changes
Slightly reorganized the order in which some of the examples were
presented.
2013-10-23 22:06:48 -04:00
Chris Lane
fb5721f887 Merge branch 'master' of https://github.com/Ashernor/cheat into Ashernor-master
* 'master' of https://github.com/Ashernor/cheat:
  Adding wget and curl cheats and updating git cheat

Conflicts:
	cheatsheets/curl
2013-10-23 22:04:31 -04:00
Chris Lane
59ba9e2749 Merge pull request #107 from a-sk/fix-zsh-autocompletion
Fix zsh autocompletion
2013-10-23 18:35:47 -07:00
Chris Lane
7bbe9279e1 Merge pull request #114 from iamsudip/gitcpatch
Updated git cheatsheet little
2013-10-23 18:34:11 -07:00
Chris Lane
eb4e396c98 Merge pull request #116 from puchrojo/patch-1
Update README.md
2013-10-23 18:31:55 -07:00
Chris Lane
64a1e825a9 Merge pull request #115 from barisinanc/master
Fix on vim cheatsheet
2013-10-23 18:30:42 -07:00
puchrojo
500a205c38 Update README.md
sudo apt-get install python-pip
2013-10-23 17:59:56 +02:00
Baris Inanc
d491b342cc Fix on vim cheatsheet 2013-10-21 09:26:35 +03:00
iamsudip
acea96b02d Updated git cheatsheet little 2013-10-19 13:01:02 +05:30
0rax
b1df8fe3cc fix edit autocomplete (just dont show description of -e/--edit option and i dont know why 2013-10-11 19:15:07 +02:00
0rax
53978fa86f Add hint to use sudo when creation fail of sheet. 2013-10-11 18:56:03 +02:00
0rax
fc4b047958 In response to Issue #108: Added option to copy sheet while not editable. 2013-10-11 18:32:21 +02:00
ashernor
6c9ac348b5 Adding wget and curl cheats and updating git cheat 2013-10-11 18:31:40 +02:00
0rax
b6e73539bd Added autocompletion for fish shell 2013-10-11 16:26:24 +02:00
Jon LaBelle
4927eacac0 Add cheatsheet and examples for curl. 2013-10-10 16:03:30 -05:00
Chris Lane
f5a7c30dc4 Merge pull request #110 from TiTi/master
Add cheatsheets (lsof, netstat, nmap, pdftk, ps, sam2p [new])
2013-10-08 16:58:43 -07:00
Chris Lane
9870deee6f Cheatsheets: minor tweaks
Made minor changes to the ls and rm cheatsheets.
2013-10-08 19:52:46 -04:00
TiTi
9d1a65b4bb Add cheatsheets 2013-10-09 00:16:31 +02:00
TiTi
97182d4cf1 Add a troubleshooting section (python 2.6 doesn't comes with the argparse module) 2013-10-08 23:55:25 +02:00
ashernor
d9bce2f3c4 add cheatsheet for df iwconfig ls and rm 2013-10-06 19:47:15 +02:00
a-sk
b5ed21d5b7 Prepand _ to cheat.zsh to make zsh autocompletions works 2013-10-03 23:58:17 +04:00
a-sk
e087674668 Fix zsh autocompletion file 2013-10-03 23:55:52 +04:00