Reference: https://developer.android.com/reference/android/view/KeyEvent.html
adb shell input keyevent <event>
Usefull common events:
KEYCODE_HOME
Reference: https://developer.android.com/reference/android/view/KeyEvent.html
adb shell input keyevent <event>
Usefull common events:
KEYCODE_HOME
sweetalert2 ([npm][npm], [github][github]) versions >= 11.4.9 is affected by a protestware behavior (war propaganda).
So here is a quick and easy way to disable this behavior if you use sweetalert2 >= 11.4.20 and [gulp][gulp].
Install gulp-replace
module:
Install dev tools:
=begin | |
Liste des TLDs pour la France et ses DROM-COM (départements et régions | |
d'outre-mer et collectivités d'outre-mer) | |
=end | |
require 'docopt' | |
TLDs = { | |
'bl' => 'Saint-Barthélemy', | |
'fr' => 'France', | |
'gf' => 'Guyane française', |
StackEdit GitHub Page : https://github.com/benweet/stackedit
Debian 8 (12/05/2016)
Here is a short JS snippet to leave a room on TryHackMe.
Context: I joined the room https://tryhackme.com/room/linuxctf a long time ago when it was free but has become VIP-only, so I have it appearing in "My rooms" but cannot do it and since I'm redirected to the VIP subscription page I can't leave it.
#!/usr/bin/env ruby | |
require 'csv' | |
installed_tools = %x(pacman -Sl blackarch).split("\n").grep(/\[installed\]/) | |
tools_list = [] | |
installed_tools.each do |line| | |
_repo, tool, _version, _status = line.split(' ', 4) | |
description = %x(pacman -Qs #{tool}).split("\n")[1].strip |
#!/bin/bash | |
domain='zonetransfer.me' | |
ns=$(dig +noall +answer NS $domain | awk '{print $5}') | |
for server in $ns | |
do | |
dig @$server AXFR $domain | |
done |
import sys | |
import random, string | |
import os | |
import time | |
import crypt | |
import traceback | |
import subprocess | |
path = ''.join(random.choices(string.ascii_letters + string.digits, k=8)) | |
session = {"user": "", "authenticated": 0} |
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\1394ohci | |
ImagePath REG_EXPAND_SZ \SystemRoot\System32\drivers\1394ohci.sys | |
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\3ware | |
ImagePath REG_EXPAND_SZ System32\drivers\3ware.sys | |
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\ACPI | |
ImagePath REG_EXPAND_SZ System32\drivers\ACPI.sys |