Skip to content

Instantly share code, notes, and snippets.

View RduMarais's full-sized avatar

Romain du Marais RduMarais

View GitHub Profile
@RduMarais
RduMarais / bot_ctf_flag.py
Last active November 15, 2022 08:07
Python bot for XSS flag - Secure development CTF
from selenium import webdriver
from selenium.webdriver.common.proxy import Proxy, ProxyType
import requests
import re
import time
import os
from bs4 import BeautifulSoup
import subprocess
import ctypes
from termcolor import colored
INT32_MAX = 2147483647
def convertir_en_date(date_nombre):
#quickndirty
date_str = str(ctypes.c_int(date_nombre).value)
if(len(date_str)>10) :
date_str = colored(date_str[0],'red')+date_str[1:]

CONFIGURATION

setxkbmap fr
sudo apt-get update
sudo apt install vim
sudo uhd_images_downloader
uh_find_devices #verify USRP is recognized
uhd_usrp_probe