Skip to content

Instantly share code, notes, and snippets.

View imshaiknasir's full-sized avatar
🎯
Being consistent

imshaiknasir

🎯
Being consistent
View GitHub Profile
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class

Downloading Videos from Pluralsight

Disclaimer

Pluralsight do not permit users to download their videos.
If you are an user of pluralsight you have agreed with their ToS,
and are thusly refrained from doing so.
Use this knowledge at your own risk.

youtube-dl for Windows

@imshaiknasir
imshaiknasir / Procfile
Last active December 25, 2020 20:35
Bot to check PUBGm version from "uptodown" site. Deploy on Heroku. #puppeteer #pubgm #pubg #heroku
worker: node index.js

😍 The beginners note for OSINT 📚


The number of OSINT tools and services is constantly growing (image via osintframework.com)

Definition:
(intentionally left blank)

// This file was initially generated by Windows Terminal 1.0.1401.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@imshaiknasir
imshaiknasir / Sign an Apk file.md
Last active June 30, 2022 19:30
How to Sign an APK

Create a key using

keytool -genkey -v -keystore whateverName.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Sign the apk

jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore whateverName.keystore my_application.apk alias_name

@imshaiknasir
imshaiknasir / Setting-up ApkTool for Android Reverse Engineering.md
Last active January 15, 2024 12:02
Setting up Apktool for Android Reverse Engineering

Setting up Apktool for Android Reverse Engineering 🛠️📱


Steps:

  1. Download Windows wrapper script. Save it as apktool.bat file-name.
  2. Download apktool-2 jar file. After download rename the file as apktool.jar.
  3. Now create a directory named as ApkTool in C:\Windows.
  4. Move both apktool.bat & apktool.jar file to here in C:\Windows\ApkTool directory.
  5. Add C:\Windows\ApkTool path to environment variables.
  6. Now open Command prompt and hit apktool.
@imshaiknasir
imshaiknasir / [email protected]: Permission denied (publickey).
Created March 28, 2020 20:19
[email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Below mentioned solution is for ["Windows Users"] only. Others can visit here: https://help.github.com/en/github/authenticating-to-github/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
1. Open Git Bash.
2. Type cd ~/.ssh. This will take you to the root directory for Git. { C:\Users\[YOUR-USER-NAME]\.ssh\ }
3. Now hit the below command:
$ ssh-keygen -t rsa -b 4096 -C "[email protected]"
@imshaiknasir
imshaiknasir / scrcpy.txt
Created March 23, 2020 14:10
Andoid-To-Desktop mirroring
URL: https://github.com/Genymobile/scrcpy
After cloning the repo to local system.
$ cd scrcpy-win32
Then:
$ scrcpy -m 1024 -b 2M