Skip to content

Instantly share code, notes, and snippets.

View umar14's full-sized avatar
🏠
Working from home

Umar umar14

🏠
Working from home
  • Pakistan
View GitHub Profile
@umar14
umar14 / frida_multiple_unpinning.js
Created August 1, 2022 10:08 — forked from akabe1/frida_multiple_unpinning.js
Another Android ssl certificate pinning bypass for various methods
/* Android ssl certificate pinning bypass script for various methods
by Maurizio Siddu
Run with:
frida -U -f [APP_ID] -l frida_multiple_unpinning.js --no-pause
*/
setTimeout(function() {
Java.perform(function() {
console.log('');
@umar14
umar14 / pn7150.py
Created October 15, 2021 12:15 — forked from doronhorwitz/pn7150.py
Use Python to read from NXP PN7120/PN7150
# https://gist.github.com/doronhorwitz/fc5c4234a9db9ed87c53213d79e63b6c
# https://www.nxp.com/docs/en/application-note/AN11697.pdf explains how to setup a demo of the PN7120/PN7150.
# With that demo comes an executable called 'nfcDemoApp'. This gist is a proof of concept for how to read from that
# executable in Python.
# The class (which is called PN7150, even though it also should support PN7120) reads the output from the PN7150 each
# time a tag is read. It finds the line starting with "Text :" and extracts out the text - which is the text stored
# by the NFC tag.
# The reading is done in a separate thread, which calls a callback with the text every time an NFC tag is read.
@umar14
umar14 / scriptOmx.sh
Created August 14, 2019 05:47
RPi script to loop videos in omxplayer
#!/bin/sh
# set here the path to the directory containing your videos
VIDEO_PATH1="/home/pi/PyLoopVideo/FINAL/MainVideo.mp4"
VIDEO_PATH2="/home/pi/PyLoopVideo/FINAL/Video1.mp4"
VIDEO_PATH3="/home/pi/PyLoopVideo/FINAL/Video2.mp4"
FILE_Button1="/home/pi/PyLoopVideo/FINAL/button1.txt"
FILE_Button2="/home/pi/PyLoopVideo/FINAL/button2.txt"
@umar14
umar14 / test.au3
Created August 14, 2019 05:40
A simple Autoit Script for Windows
#include <Misc.au3>
#include <MsgBoxConstants.au3>
Local $hDLL = DllOpen("user32.dll")
While 1
If _IsPressed("75", $hDLL) Then
ConsoleWrite("_IsPressed - Shift Key was pressed." & @CRLF)
; Wait until key is released.
While _IsPressed("75", $hDLL)