This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* HexToBinary Headerfile | |
Convert Hexdata into binary | |
(C) 2017, Staubgeborener | |
https://github.com/Staubgeborener/ */ | |
#include "HexToBinary.h" | |
#include <stdio.h> | |
#include <string.h> | |
HexToBinary::HexToBinary() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This Script needs Python3. Original script from @funvill, | |
#edit (urllib and http/request support, also added gpu temperature) by @staubgeborener | |
#This edit allows to post raspberry pi stats on any php supported website. You could use this together with cron for example. | |
import os | |
import urllib.request, urllib.parse | |
# Return CPU temperature as a character string | |
def getCPUtemperature(): | |
res = os.popen('vcgencmd measure_temp').readline() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#(Update from Python2 -> Python3) | |
from twython import Twython | |
from urllib.request import urlopen | |
from importlib import reload | |
import urllib | |
import sys | |
#reload(sys) | |
#sys.setdefaultencoding('utf8') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hashcat (v6.0.0) starting in benchmark mode... | |
Benchmarking uses hand-optimized kernel code by default. | |
You can use it in your cracking session by setting the -O option. | |
Note: Using optimized kernel code limits the maximum supported password length. | |
To disable the optimized kernel code in benchmark mode, use the -w option. | |
* Device #1: WARNING! Kernel exec timeout is not disabled. | |
This may cause "CL_OUT_OF_RESOURCES" or related errors. | |
To disable the timeout, see: https://hashcat.net/q/timeoutpatch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"auto_formatting": true, | |
"autoformat_ignore": | |
[ | |
"E309", | |
"E501" | |
], | |
"pep8_ignore": | |
[ | |
"E309", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "freertos/FreeRTOS.h" | |
#include "nvs_flash.h" | |
#include "lwip/err.h" | |
#include "esp_wifi.h" | |
#include "esp_wifi_internal.h" | |
#include "esp_system.h" | |
#include "esp_event.h" | |
#include "esp_event_loop.h" | |
uint16_t offset = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ESP32 Get RSSI of packets- Promiscuous Mode | |
(C) 2017, Staubgeborener | |
https://github.com/Staubgeborener/ */ | |
#include "esp_wifi.h" | |
#include "esp_wifi_internal.h" | |
#include "lwip/err.h" | |
#include "esp_system.h" | |
#include "esp_event.h" | |
#include "esp_event_loop.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
loadkeys de-latin1 | |
# ethernet | |
# get interface name: | |
ls /sys/class/net | |
# connect: dhcpcd <interface> | |
# create 3 partitons: | |
cgdisk /dev/sda | |
# 100MB partition |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Praktisches Skript für alle mydealerz. Am besten diese Codezeilen mit crontab -e jede Minute ausführen lassen (siehe: https://www.linuxwiki.de/crontab) | |
#Die folgenden Zeilen prüfen dann jede Minute (oder von mir aus Sekunde) ob es einen neuen Preisfehler-Deal gibt und schickt dann eine Telegram-Nachricht mit dem Link raus | |
#So ist es nun möglich tatsächlich auch _rechtzeitig_ über Preisfehler informiert zu werden und nicht erst ~10 Minuten später (beim ersten ausführen wird eine Preisfehler-Nachricht verschickt da eine Referenz fehlt, sit aber völlig normal) | |
TOKEN=<TOKEN> #https://core.telegram.org/bots/api#authorizing-your-bot | |
CHAT_ID=<CHAT_ID> #https://stackoverflow.com/a/32572159 | |
touch .tmp_file_lastknowndeal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#get rid of broken KB5009543 (win10) and KB5009566 (win11) - broken ike vpn | |
$win10 = wmic qfe list full /format:table | Select-String -Pattern 'KB5009543' | |
if($win10){ | |
#win10 update installed, lets remove it | |
WUSA.exe /uninstall /KB:5009543 | |
} else { | |
#win10 update not installed, check win11 | |
$win11 = wmic qfe list full /format:table | Select-String -Pattern 'KB5009566' | |
if($win11){ |
OlderNewer