leostat / rtfm

A database of common, interesting or useful commands, in one handy referable form
https://necurity.co.uk/osprog/2017-02-27-RTFM-Pythonized/
GNU General Public License v3.0
745 stars 93 forks source link

Method of pushing to GitHub #78

Closed BaffledJimmy closed 7 years ago

BaffledJimmy commented 7 years ago

Hi,

I've got some commands that I'd like to push into the database, but am having a few problems working out how to do it. Do I make the changes in my local copy and then push the entire db back up to git via commit / push?

If you throw together a quick how-to or similar I've got a fair few to add :)

Jim

leostat commented 7 years ago

Working on that now! Re working the readme to make it a bit nicer :)!

(Ps thanks!)

Edit:

Re-worked the read me to make the process a bit clearer. As a quick howto, first add your commands: -iE

After this dump them out in the update format, use the flags 'A' now to show commands added today, -a author' to show commands added by yourself, and -pd to put it in the right format, example below:

19:43:root:rtfm: ./rtfm.py -a Innes -A now -pd
セ=ア[ミ=ウ],ハ=++ミ+ウ,ヘ=ホ[ミ+ハ],ア[ヘ+=ホ[ウ]+(ホ.ホ+ホ)[ウ]+ネ[ハ]+ヌ+セ+ア[ミ]+ヘ+ヌ+ホ[ウ]+セ][ヘ](ネ[ウ]+ネ[ミ]+ア[ハ]+セ+ヌ+"(ウ)")()
Script alert(1) using Katakana 
Innes
EOC
web application
XSS
EOT
https://github.com/aemkei/katakana.js
EOR

Hope this helps!

leostat commented 7 years ago

Closing as updated the readme with (hopefully) better info