Skip to content

Instantly share code, notes, and snippets.

View aamitn's full-sized avatar
:atom:
NO Vibin'

Amit Nandi aamitn

:atom:
NO Vibin'
View GitHub Profile
@aamitn
aamitn / file-server.conf
Created August 14, 2025 11:54
SINGLE FILE NGINX SECURE FILE SERVER CONFIG
server {
listen 80;
server_name downloads.bitmutex.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl http2;
server_name downloads.bitmutex.com;
@aamitn
aamitn / sign_apk_apksigner.cmd
Last active June 5, 2025 11:41
Signing APKs and AABs with Apksigner and Jarsigner
java -jar C:\Users\bigwiz\AppData\Local\Android\Sdk\build-tools\34.0.0\lib\apksigner.jar sign --ks "${{ env.ANDROID_KEYSTORE_PATH }}" --ks-pass pass:"${{ env.ANDROID_KEYSTORE_PASSWORD }}" --ks-key-alias key0 --key-pass pass:"${{ env.ANDROID_KEYSTORE_PASSWORD }}" .\build\outputs\apk\generic\release\*.apk
apksigner sign --ks release.jks --ks-pass pass:1234qwer --ks-key-alias key0 --key-pass pass:1234qwer app.apk
C:\Users\bigwiz\AppData\Local\Android\Sdk\build-tools\34.0.0\apksigner.bat sign --ks pulsebridge.jks --ks-pass pass:1234qwer --ks-key-alias key0 --key-pass pass:1234qwer .\build\outputs\apk\generic\release\*.apk
java -jar C:\Users\bigwiz\AppData\Local\Android\Sdk\build-tools\34.0.0\lib\apksigner.jar sign --ks pulsebridge.jks --ks-pass pass:1234qwer --ks-key-alias key0 --key-pass pass:1234qwer .\build\outputs\apk\generic\release\*.apk
@aamitn
aamitn / code-signing-cert-signtool.txt
Last active June 9, 2025 01:51
How to Generate Self-Signed Code Signing Certificate, export to .pfx and Sign Binaries with it
//Signtool location
"C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe"
//Create Cert (Powershell)
1. New-SelfSignedCertificate -Type Custom -Subject "CN=Bitmutex Trusted Root Certificate Authority, O=Bitmutex Technologies CA, C=IN" -KeyUsage DigitalSignature -FriendlyName "Bitmutex Root Certificate" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2,1.3.6.1.5.5.7.3.3,1.3.6.1.4.1.311.10.3.12,1.3.6.1.5.5.7.3.4","2.5.29.19={text}") -NotAfter (Get-Date "2096-12-31")
// Check in GUI (Powershell)
2. After you generate the self signed certificate, open certmgr.msc, and find your certificate under the Current User->Personal -> Certificates.
## change .mkv to any other h264 supported formats like .mp4
# 2-step - Optimized
ffmpeg -y -i illustration.mkv -vf "fps=8,scale=720:-1:flags=lanczos,palettegen" palette.png
ffmpeg -i illustration.mkv -i palette.png -filter_complex "fps=8,scale=720:-1:flags=lanczos[x];[x][1:v]paletteuse=dither=bayer" output.gif
# 1-step
ffmpeg -i illustration.mkv output.gif
@aamitn
aamitn / wizrat-config.json
Last active May 19, 2025 18:22
Configuration for WizRat Pyhton RAT App
{
"GLOBAL_IP": "127.0.0.1",
"GLOBAL_PORT": 12345,
"GLOBAL_CAM_PORT": 1234,
"CAM_FPS": 30,
"CAM_IMAGE_QUALITY": 80,
"CAM_FRAME_WIDTH": 480
}