Skip to content

Instantly share code, notes, and snippets.

@nix2intel
nix2intel / hunchlydown.py
Created July 29, 2023 04:10
Download Hunchly Daily Report with Playwright
import os
from playwright.sync_api import Playwright, sync_playwright, expect
def run(playwright: Playwright) -> None:
browser = playwright.chromium.launch(headless=True)
context = browser.new_context()
page = context.new_page()
page.goto("https://www.dropbox.com/s/dvm23v5dhoe1cz4/HiddenServices.xlsx?dl=0")

Keybase proof

I hereby claim:

  • I am 5a4b48 on github.
  • I am 5a4b48 (https://keybase.io/5a4b48) on keybase.
  • I have a public key ASAxHq1VBkSbCRLILc3t1LqvPJG4_d_-YSsoTHeB4mnsEAo

To claim this, I am signing this object:

def send_request():
# Sensor-Set
# GET https://api.protectwise.com/api/v1/sensor-sets
token = "tokenhere"
try:
response = requests.get(
url="https://api.protectwise.com/api/v1/sensor-sets",
headers={
"X-Access-Token": token,
},
@nix2intel
nix2intel / linuxGather.sh
Created February 6, 2018 21:15
Linux Information Gathering
#!/bin/bash
dir=~/.collections
mkdir $dir
sort –nk3 –t: /etc/passwd >> $dir/psswdUsers.art
egrep ':0+:' /etc/passwd >> $dir/psswdPrivUsers.art