This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^j:: | |
SetKeyDelay, 1 | |
loop,read,C:\test.txt | |
{ | |
Send,{raw}%a_loopReadLine% | |
Sleep, 100 | |
SendInput,{enter} | |
Sleep, 50 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
frida --codeshare pcipolloni/universal-android-ssl-pinning-bypass-with-frida -U -f com.apk --no-pause |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
ntdsutil "activate instance ntds" ifm "create full C:\audit" quit quit | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
certreq -attrib "CertificateTemplate:webserver" -submit test.req |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[system_default_sect] | |
#MinProtocol = TLSv1.2 | |
#CipherString = DEFAULT@SECLEVEL=2 | |
MinProtocol = None | |
CipherString = DEFAULT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -v '<BR>' file.txt > nobr.txt | |
grep -o '[^<BR>]\+' file.txt > br.txt | |
cat nobr.txt br.txt > merged.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd "C:\Program Files\Windows Defender\" && MpCMDRun.exe -removedefinitions -all |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl req -out sslcert.csr -newkey rsa:2048 -nodes -keyout private.key -config san.cnf | |
[ req ] | |
default_bits = 2048 | |
distinguished_name = req_distinguished_name | |
req_extensions = req_ext | |
[ req_distinguished_name ] | |
countryName = Country Name (2 letter code) | |
stateOrProvinceName = State or Province Name (full name) | |
localityName = Locality Name (eg, city) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script checks for the presence of a process using high GPU memory other than its own etherum miner, and terminates the miner. If it does not find such a process, it starts the miner. | |
MAX_MEMORY=500 | |
MINER_NAME=t-rex | |
MINER_PATH="/home/trex/t-rex -a ethash -o stratum+tcp://asia1.ethermine.org:4444 -u WALLET_ADDRESS -w hashcat1" | |
# Get data on GPU processes | |
gpuprocs=$(nvidia-smi | head -n -1 | sed -n -e '19,999999 p' | awk 'BEGIN{ OFS = ";"; FS=" *"}{split($0,a);print a[5],a[6],(a[8]+0)}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#add MgntUser according to RI info, xufuguo, 20120808 | |
#if user_name or password is NULL, do nothing. | |
#update for R30 read-only rootfs, modify by xufuguo, 20130816 | |
#modify: not get MgntUserLongPasswd from RI. so call this script in pre-config instead of startup.sh xufuguo, 20120926 | |
#user_name=$(ritool get UserName | grep UserName | awk -F : '{print $2}') | |
#password=$(ritool get MgntUserLongPasswd | grep MgntUserLongPasswd | awk -F : '{print $2}') |
OlderNewer