Skip to content

Instantly share code, notes, and snippets.

View bosb's full-sized avatar
🤡
.

Thorsten bosb

🤡
.
View GitHub Profile
@natmchugh
natmchugh / copying-Paxton-fobs.md
Last active July 5, 2024 13:20
How to copy, read and write Paxton fobs and cards with an RFIDler

How to copy, read and write Paxton fobs and cards with an RFIDler

A newer version of this info is available at https://badcfe.org/how-to-paxton-with-rfidler/

Paxton fobs and readers are popular in the UK especially the Net2 system where the fobs look like this with a blue ring: Paxton Fob

Paxton readers often look like this:

Paxton Reader

@gitfvb
gitfvb / readme.md
Last active March 23, 2024 12:04
Notes on Quelima R3 WiFi Camera

First

  • Install the app "Sports DV" and change WiFi SSID and password

URLs

  • Wifi and Cam settings are seperated and have different port numbers.
  • Wifi-Settings (just login withoug username and password): http://192.168.25.1
  • Cam LiveStream: http://192.168.25.1:8080/?action=stream
  • Not sure how the configuration is made really... Would need a Man-In-The-Middle-Attack or send the initial ICMP package

Change AP (Cam is the access point) to Station (Cam is a normal WiFi Client)

@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);
@trey
trey / git-commit-author-rewrite.md
Last active July 3, 2024 15:56
Change the email address for a git commit.

Change the email address for a git commit.

$ git commit --amend --author="Author Name <email@address.com>"

or

$ git commit --amend --reset-author