Skip to content

Instantly share code, notes, and snippets.

View danilovazb's full-sized avatar

Danilo Unk Vaz danilovazb

View GitHub Profile
@danilovazb
danilovazb / small_server_forked.py
Created March 5, 2021 09:59 — forked from xf0e/small_server_forked.py
hpps server that logs GET and POST
#!/usr/bin/env python3
"""
Very simple HTTP server in python for logging requests
Usage::
./server.py [<port>]
"""
from http.server import BaseHTTPRequestHandler, HTTPServer
import logging
class S(BaseHTTPRequestHandler):
@danilovazb
danilovazb / Awesome_GitHub_OSINT.md
Created October 23, 2020 01:38 — forked from nil0x42/Awesome_GitHub_OSINT.md
Awesome GitHub OSINT
# This is an automatically generated file.
# Please see <file:/usr/share/doc/menu/README> for information.
# to use your own menu, copy this to ~/.fluxbox/menu, then edit
# ~/.fluxbox/init and change the session.menuFile path to ~/.fluxbox/menu
[begin] (Fluxbox)
# Automatically generated file. Do not edit (see /usr/share/doc/menu/html/index.html)
TESTE
VAAAAAIIIIII.TXT
import time
import sys
OxOoO = [chr(70),
chr(101),
chr(108),
chr(105),
chr(122),
chr(32),
chr(65),
# Set a Ctrl-b shortcut for reloading your tmux config
bind r source-file ~/.tmux.conf
# Set the prefix to be ^A
unbind C-b
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import threading
import time
import urllib2,sys,json,requests,re
import pycurl
import subprocess
from bs4 import BeautifulSoup
from itertools import islice
#!/usr/bin/python
import subprocess,os,sys
try:
process = sys.argv[1]
cmm = "ps -ef | grep '%s' | grep -v 'grep' | grep -v 'killmon.py' | awk '{ print $2 }'" % (process)
resultado = subprocess.check_output(cmm, shell=True)
resultado = resultado.strip()
lista = resultado.split('\n')
for i in range(len(lista)):