Skip to content

Instantly share code, notes, and snippets.

View Lerie82's full-sized avatar

Lerie Taylor Lerie82

View GitHub Profile
@Lerie82
Lerie82 / kernelbase32.dll function list
Created April 19, 2024 22:47
kernelbase32.dll function list
__misaligned_access 6.1 and higher (x64 only);
__wgetmainargs 6.2 and higher
_AddMUIStringToCache 6.2 and higher
_c_exit 6.2 and higher
_exit 6.2 and higher
_initterm_e 6.2 and higher
_local_unwind 6.1 and higher (x64 only);
_onexit 6.2 and higher
_OpenMuiStringCache 6.2 and higher
_time64 6.2 and higher
@Lerie82
Lerie82 / windows-console.css
Last active April 19, 2024 18:52
windows console css
<style type="text/css">
body {
margin: 0;
padding: 0;
background-color: #EFEFEF;
font-family: "segoe ui light", "segoe ui";
letter-spacing: 0.03em;
}
table {
border-collapse: collapse;
@Lerie82
Lerie82 / microsoft-dns-block.txt
Created April 9, 2024 03:35 — forked from VirtuBox/microsoft-dns-block.txt
Blocking Microsoft DNS hosts file
0.0.0.0 feedback.microsoft-hohm.com
0.0.0.0 search.msn.com
0.0.0.0 a.ads1.msn.com
0.0.0.0 a.ads2.msn.com
0.0.0.0 a.rad.msn.com
0.0.0.0 ac3.msn.com
0.0.0.0 ads.msn.com
0.0.0.0 ads1.msn.com
0.0.0.0 b.ads1.msn.com
0.0.0.0 b.rad.msn.com
@Lerie82
Lerie82 / nmap script list
Created March 9, 2024 13:17
nmap script list
acarsd-info.nse
address-info.nse
afp-brute.nse
afp-ls.nse
afp-path-vuln.nse
afp-serverinfo.nse
afp-showmount.nse
ajp-auth.nse
ajp-brute.nse
ajp-headers.nse
@Lerie82
Lerie82 / application.xml
Created March 8, 2024 06:48
application.xml
<?xml version="1.0" encoding="utf-8"?>
<Configuration>
<Payload adobeCode="{9124DF4E-617D-486B-A970-8FA632244F24}">
<Data key="defaultAdobeCode">Photoshop-Installer-AdobeCode</Data>
<Data key="LicensingCode">Photoshop-CS6-Win-GM</Data>
<Data key="BridgeTalkCode">/adobe/bridgetalk/photoshop-60.032</Data>
<Data key="AMTConfigPath">C:\Program Files (x86)\Adobe\Adobe Photoshop CS6\AMT\application.xml</Data><Data key="DefaultDriverPayload">{74EB3499-8B95-4B5C-96EB-7B342F3FD0C6}</Data><Data key="InstallDate">1709074133</Data><Data key="driverAMTConfigPath">C:\Program Files (x86)\Common Files\Adobe\Adobe Photoshop CS6\AMT_Driver\application.xml</Data><Data key="driverLEID">Photoshop-CS6-Win-GM</Data><Data key="installedLanguages">en_IL</Data></Payload>
<Other adobeCode="Photoshop-CS6-Win-GM">
<Data key="EPIC_APP">Adobe Photoshop CS6</Data>
<Data key="EPIC_APP_45">Adobe Photoshop CS6</Data>
@Lerie82
Lerie82 / dev1.sh
Created January 16, 2024 18:22
get the first attached device from the `adb devices -l` list
#!/usr/bin/env bash
#Lerie Taylor
#get the first device
first_dev=$(adb devices|head -n2|tail -1|sed -r 's/(.+)\t.+/\1/g')
if [ -z "$first_dev" ]
then
echo "No devices found"
exit 0
fi
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.newproject2/com.my.newproject2.MainActivity}: java.lang.IllegalStateException: No successful match so far
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3031)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3166)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1883)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6971)
@Lerie82
Lerie82 / gist:c6886c204b778651b697c0b70767a249
Created October 23, 2023 12:09
Exception in thread "main" javax.net.ssl.SSLException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
sudo rm /etc/ssl/certs/java/cacerts
sudo update-ca-certificates -f
import okhttp3.OkHttpClient;
import okhttp3.Request;
import okhttp3.RequestBody;
import okhttp3.Response;
@Lerie82
Lerie82 / more-block.sketchware
Last active October 23, 2023 11:22
more block for okhttp3 with sketchware
try {
OkHttpClient client = new OkHttpClient();
Request request = new Request.Builder().url(url).build();
Response response = client.newCall(request).execute();
return response.body().string();
} catch(IOException iex) {
return iex.getMessage();
}