Skip to content

Instantly share code, notes, and snippets.

adliwahid / .zshrc
Last active February 1, 2021 05:45
minimal zsh configuragion (.zshrc)
# notes from
export PATH="/usr/local/sbin:$PATH"
PROMPT='%F{cyan}%n%f%F{yellow}@[%m]%f in %F{green}%~%f -> '
#prompt on the right side
# aliases
adliwahid / gist:7bd1d37195f6a081354b7143280044c7
Created January 14, 2021 01:48
Logstash configuration + Virustotal API with http filter + memcached
# There's a virustotal filter for logstash if you search the Internet
# I have a field hash that contains the sha256 of the file downloaded on the honeypot
# memcached is used to store the query results in memory
# query is made to memcached, if there's nothing there then make the http request with the API key
# memcached is used to minimize the # of queries made given the same file hash
# the returned results is stored in vt.* field . You may need to remove fields that you don't need
# you'll also need to install memcached and the logstash memcached filter
input {}

Keybase proof

I hereby claim:

  • I am adliwahid on github.
  • I am adliwahid ( on keybase.
  • I have a public key whose fingerprint is 0CA9 A0A3 42C0 241E 6AE9 B24C 53F7 CE5C 6352 3696

To claim this, I am signing this object:

adliwahid /
Created April 17, 2016 10:27
httrack for mirroring site on (waybackmachine)
#this is useful for copying snapshotted sites at
#copied from
#replace ${wayback_url} with the full URL i.e.
#replace ${domain_name} with the domain name of the site you'r mirroring without the 'http', so
adliwahid / tmux-cheatsheet.markdown
Created March 28, 2016 23:46 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:


start new with session name:

tmux new -s myname
adliwahid /
Created March 23, 2016 23:38 — forked from glaslos/
import SimpleHTTPServer
import SocketServer
paths = set()
class Handler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):
# Detect remote file inclusion
if '=http' in self.path: