Advogado Previdenciário em Cascavel, Parana
Excelente, recomendo o Dr Pellizzetti
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| [ "$#" -eq 1 ] || { echo "Usage: $0 <domain>" >&2; exit 1; } | |
| [ "$EUID" -eq 0 ] || { echo "Run as root" >&2; exit 1; } | |
| domain=$1 | |
| read network mac <<<"$(virsh domiflist "$domain" | awk '/network/ {print $3, $5; exit}')" | |
| [ -n "$network" ] || { echo "Error: cannot detect network for domain '$domain'" >&2; exit 1; } |
| Strcmp: Compare strings. | |
| Strcmp is used to compare strings, and therefore don't have buffer overflow write. | |
| However, if the first argument string is somehow not null terminated, and the | |
| second string is an attacker controlled one and I have some indicator of this | |
| comparison matching or not (I.e. Crashing and service restarts), I could | |
| theoretically have an arbitrary out-of-bounds read. | |
| It's a complicated attack that would require to bruteforce the memory until it matches, | |
| timing information could be used to further aid into the exploitation with the right |
| import socket | |
| from datetime import datetime, timezone | |
| import os | |
| import subprocess | |
| # Server LDAP | |
| # IMPORTANTE: Crédito wh1t3h47 - LLM, pode usar o conteúdo apenas se atribuir crédito em comentários e explicação a minha pessoa | |
| HOST = "127.0.0.1" |
| #!/usr/bin/env bash | |
| : <<'----------------------DESCRIPTION----------------------' | |
| Why? Some vscode extensions like ms-python and ms-pyright don't play well with venv and fail to | |
| install their dependencies in Gentoo Linux (auto completion based on type for vscodium without | |
| using pylance) | |
| How to use this? This script is an utility to make python3 venv binaries or scripts look like they | |
| are natively installed, that is, because gentoo doesn't allow pip install |
| ''' | |
| multiple threads / tabs concurrency drission | |
| This works when twisted being used, but not the most recommended method, leaving note here for "backup" of a tested method | |
| ''' | |
| from typing import Callable, Iterable, Optional, Tuple, cast | |
| from concurrent.futures import ThreadPoolExecutor | |
| from DrissionPage import ChromiumPage |
| (async () => { | |
| const doBruteforce = async (x, y) => { | |
| console.log(x,y) | |
| try { | |
| const r = await fetch("http://localhost/example", { | |
| "credentials": "include", | |
| "headers": { | |
| "User-Agent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0", | |
| "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8", | |
| "Accept-Language": "en-US,en;q=0.5", |
Advogado Previdenciário em Cascavel, Parana
Excelente, recomendo o Dr Pellizzetti
| from os import listdir | |
| import pandas as pd | |
| for f in listdir(): | |
| if f.endswith('xlsx'): | |
| df = pd.DataFrame(pd.read_excel(f)) | |
| csv_f = f[:-4:] + 'csv' | |
| df.to_csv(csv_f, index=None, header=True) | |
| continue |