Skip to content

Instantly share code, notes, and snippets.

View bosb's full-sized avatar
🤡
.

Thorsten bosb

🤡
.
View GitHub Profile
@bosb
bosb / hitag.lua
Created July 25, 2021 16:00
Proxmark: Trigger all hitag responses and compute type of hitag
-- put in proxmark/client/scripts or ~/.proxmark3/luascripts
local utils = require('utils')
local getopt = require('getopt')
copyright = ''
author = 'Thorsten'
version = 'v0.0.1'
desc =
[[
Trigger all HITAG tags
@bosb
bosb / hitagS.c
Last active March 1, 2020 20:30
tag bins
.
@bosb
bosb / ISO15693_with_CR95HF.py
Last active January 4, 2019 22:41
Step through all possible modulations/configurations for ISO/IEC 15693 with CR95HF-VMD5T from STMicroelectronics discovery kit M24LR-DISCOVERY used command: Inventory
#!/usr/local/bin/python
# Author: Thorsten Bosbach 09/2018
# Step through all possible modulations/configurations for ISO/IEC 15693 with CR95HF-VMD5T from STMicroelectronics discovery kit M24LR-DISCOVERY
# Used command: Inventory
# Never forget, to read after every write, else strange looking results ;-) !
import hid
import time
import sys
@bosb
bosb / webserver.rb
Created March 12, 2018 15:12
API stubbing for frontend testing: webserver method
require 'ap'
require 'json'
require 'webrick'
# API stubbing for frontend testing: webserver method
# Thorsten Bosbach 03/2018
if ARGV.count != 3
ap "Usage: ruby webserver.rb port request-path file"
# ruby webserver.rb 7080 /notification-center/api/nc profiles_vomp_mixed_aggregated.json
@bosb
bosb / proxy.rb
Last active March 12, 2018 15:13
API stubbing for frontend testing: proxy method
require 'ap'
require 'json'
require 'webrick'
require 'webrick/httpproxy'
# API stubbing for frontend testing: proxy method
# Thorsten Bosbach 03/2018
if ARGV.count != 3
ap "Usage: ruby proxy.rb port request-path file"
<?php
# script to feed HTML to SMTP to put email in inbox of local webmailer
# Thorsten Bosbach 08/2016
$script_name = 'telnet_mail.php';
$smtp_host_name = 'localhost';
$smtp_host_port = 24; // 25
$smtp_greeting = 'LHLO'; // EHLO
$recipient_adress = 'testuser';
define('PHP_QPRINT_MAXL', 75);