Skip to content

Instantly share code, notes, and snippets.

View imshaiknasir's full-sized avatar
🎯
Being consistent

imshaiknasir

🎯
Being consistent
View GitHub Profile
@imshaiknasir
imshaiknasir / Netsh commands for resetting your network adapter in Windows.md
Created March 19, 2020 06:55
Netsh commands for resetting your network adapter in Windows

Netsh commands run in a Command Prompt with Administrative privileges


Note: This section is intended for advanced computer users. If you are not comfortable with advanced troubleshooting, ask someone for help. Follow these steps to reset the Windows Firewall, TCP/IP stack and Winsock manually. You will have to restart your system to complete the reset.


Following is a list of the Netsh commands with descriptions that you can use to reset your network adapter in Windows 10:

  1. netsh advfirewall reset Restores the Windows Firewall with Advanced Security policy to the default policy.

  2. netsh int ip reset

@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
@imshaiknasir
imshaiknasir / git@github.com: Permission denied (publickey).
Created March 28, 2020 20:19
git@github.com: 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 "your_email@example.com"
@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 / 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

// 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",

😍 The beginners note for OSINT 📚


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

Definition:
(intentionally left blank)

@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

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