Skip to content

Instantly share code, notes, and snippets.

View b8x's full-sized avatar
💻
Focusing

Axay b8x

💻
Focusing
View GitHub Profile
@b8x
b8x / Base64Encoder.js
Created April 21, 2023 12:30
Base 64 Encoder in Javascript
const message = "Hello, World!";
const encodedMessage = btoa(message);
console.log(encodedMessage);
@b8x
b8x / Base64Encoder.java
Last active April 21, 2023 12:29
Base 64 Encoder Java
import java.util.Base64;
public class Base64Encoder {
public static void main(String[] args) {
String message = "Hello, world!";
// Encode the message
String encodedMessage = Base64.getEncoder().encodeToString(message.getBytes());
// Print the encoded message
@b8x
b8x / GoogleHackMasterList.txt
Created March 20, 2021 18:26 — forked from mylamour/GoogleHackMasterList.txt
The definitive super list for "Google Hacking".
admin account info" filetype:log
!Host=*.* intext:enc_UserPassword=* ext:pcf
"# -FrontPage-" ext:pwd inurl:(service | authors | administrators | users) "# -FrontPage-" inurl:service.pwd
"AutoCreate=TRUE password=*"
"http://*:*@www” domainname
"index of/" "ws_ftp.ini" "parent directory"
"liveice configuration file" ext:cfg -site:sourceforge.net
"parent directory" +proftpdpasswd
Duclassified" -site:duware.com "DUware All Rights reserved"
duclassmate" -site:duware.com
@b8x
b8x / DesCryptor.java
Last active November 8, 2019 18:10
DesCryptor - 3 Des Encryption & Decryption Java
import Decoder.BASE64Encoder;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.spec.SecretKeySpec;
public class DesCryptor {
// des encryption key
private static byte[] keyBytes = new byte[]{
@b8x
b8x / Signature.cpp
Last active November 3, 2019 09:09
Android native get signature (cpp)
#include <jni.h>
#include <string>
extern "C"
JNIEXPORT jstring JNICALL
Java_me_axaygadekar_security_NativeSecurity_getSignatureFromJNI(JNIEnv *env, jclass nativeSecurityClass,
jobject context) {
// --------------- PackageManager
// context object class