Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am kellthenoise on github.
  • I am cyberdog (https://keybase.io/cyberdog) on keybase.
  • I have a public key ASAzIIvjzFgZ5XeXKat89WYe2HnhsuJQU3ub0cKczGLc3go

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am kellthenoise on github.
  • I am cyberdog (https://keybase.io/cyberdog) on keybase.
  • I have a public key ASAzIIvjzFgZ5XeXKat89WYe2HnhsuJQU3ub0cKczGLc3go

To claim this, I am signing this object:

$ system_profiler #Information about the password policies 
$ getaccountpolicies #pwpolicy
$ pbpaste text # Clipboard contents 
$ df -aH # Locally mounted shares 
$ history
@kellthenoise
kellthenoise / bots
Created January 27, 2019 18:18
.htaccess files
#Restringir el acceso en caso de emergencia
#order deny,allow
#deny from all
#emergencia
#allow from #allow from $MIIP
#Nadie ve el htaccess
<files .htaccess>
order allow,deny
deny from all
allow from 127.0.0.1
### Keybase proof
I hereby claim:
* I am fuzzzynoise on github.
* I am cyberdog (https://keybase.io/cyberdog) on keybase.
* I have a public key ASBhkRpcrCZ4g-xigQxYemx_W5rEWSLyW0cHKQL1bAiWRAo
To claim this, I am signing this object:
@kellthenoise
kellthenoise / Github pages
Last active June 4, 2019 19:23
Github pages
External
* [[https://github.com/lgandx/Responder.git
* [[https://github.com/quickbreach/SMBetray.git[SMB Betrayu]
* [[https://github.com/yamakira/censys-enumeration|censys enumeration via certificates]]
* [[https://github.com/FortyNorthSecurity/EyeWitness.git|Eyewitness]]
* [[https://github.com/michenriksen/gitrob.git|gitrob git]]
* [[https://github.com/aboul3la/Sublist3r.git|Sublistr]]
* https://github.com/OJ/gobuster.git - directory brute forcing
https://github.com/UnaPibaGeek/ctfr - certificates
alias qfind="find . -name " # qfind: Quickly search for file
ff () { /usr/bin/find . -name "$@" ; } # ff: Find file under the current directory
ffs () { /usr/bin/find . -name "$@"'*' ; } # ffs: Find file whose name starts with a given string
ffe () { /usr/bin/find . -name '*'"$@" ; } # ffe: Find file whose name ends with a given string
# spotlight: Search for a file using MacOS Spotlight's metadata
# -----------------------------------------------------------
spotlight () { mdfind "kMDItemDisplayName == '$@'wc"; }
To list open files (process id’s and ports, actually):
sudo lsof -i -P
To avoid text wrapping, pull the right edge to expand the screen width.
The right-most column heading "Name" shows the port (either TCP or UDP).
To filter a particular port number:
#!/bin/bash
# log.sh
# do the following - /usr/bin/script ~/Desktop/Terminal.log
#* Formatted date & time string.
FORMATTED_DATE=`/bin/date "+%Y-%m-%d%H%M%S"`
#* Archive the previous file
/bin/cp -f ~/Desktop/Terminal.log{,.&#36;FORMATTED_DATE.txt}
@kellthenoise
kellthenoise / Bookmarked pages
Last active May 20, 2019 23:57
Github Pages
External <br>
* [[https://github.com/lgandx/Responder.git
* [[https://github.com/quickbreach/SMBetray.git[SMB Betrayu]
* [[https://github.com/yamakira/censys-enumeration|censys enumeration via certificates]]
* [[https://github.com/FortyNorthSecurity/EyeWitness.git|Eyewitness]]
* [[https://github.com/michenriksen/gitrob.git|gitrob git]]
* [[https://github.com/aboul3la/Sublist3r.git|Sublistr]]
* https://github.com/OJ/gobuster.git - directory brute forcing