Skip to content

Instantly share code, notes, and snippets.

View todmephis's full-sized avatar

Ivan Sanchez todmephis

  • MX
View GitHub Profile
@todmephis
todmephis / server.py
Created October 20, 2020 18:08 — forked from mdonkers/server.py
Simple Python 3 HTTP server for logging all GET and POST requests
#!/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):
@todmephis
todmephis / foxyproxy-Burpsuite-patterns_excludeFireFox.json
Last active February 3, 2023 16:50
FoxyProxy patterns to exclude FireFox (and others) garbage from BurpSuite proxy
{
"logging": {
"size": 100,
"active": true
},
"mode": "patterns",
"om8ch61619470734653": {
"type": 1,
"color": "#66cc66",
"title": "Burpsuite",
@todmephis
todmephis / e_numeros.py
Last active September 5, 2024 21:37
WhatsApp automatizacion
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.common.by import By
import time
from itertools import product
def borrar_numero_completo():
search_box = driver.find_element(By.XPATH, "//div[@contenteditable='true']")
for _ in range(12):
search_box.send_keys(Keys.BACKSPACE)