Skip to content

Commit

Permalink
Update bash.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieparfet authored Feb 3, 2020
1 parent 9be6828 commit bd62690
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions misc/bash.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ World-writable files | `find / -writable -type f 2>/dev/null`
Exclude /proc/ and /sys/ | `egrep -v "/proc/\|/sys/"`

### etc
`sed -i -E '/^200.*730B/d' *`
`sed -i 's/\([A-Z]\)/\L\1/g' *`
`grep -rnwih '.' -e '.php'`
Function | Command
------------ | -------------
Remove bad results from dirsearch | `sed -i -E '/^200.*730B/d' *`
Lowercase everything | `sed -i 's/\([A-Z]\)/\L\1/g' *`
grep | `grep -rnwih '.' -e '.php'`

0 comments on commit bd62690

Please # to comment.