Skip to content

Instantly share code, notes, and snippets.

View simeononsecurity's full-sized avatar
:shipit:
I may be slow to respond.

SimeonOnSecurity simeononsecurity

:shipit:
I may be slow to respond.
View GitHub Profile
// This will click the "view more" button for you till it maxes out or doesn't load any more and then download the table as a csv for you.
(function() {
function tableToCSV() {
var csv = [];
var rows = document.querySelectorAll("#searchTable tr");
// Loop through each row
for (var i = 0; i < rows.length; i++) {
var row = [], cols = rows[i].querySelectorAll("td, th");
@simeononsecurity
simeononsecurity / Alta_orion_config.json
Created May 24, 2024 23:51
Google Orion Passpoint 2.0 Alta Labs Config Example
{
"radsec": {
"tls": {
"default": {
"cacerts": {
"cacert1":
"-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
",
"cacert2":
@simeononsecurity
simeononsecurity / attpasspoint.xml
Last active April 28, 2024 18:39
ATT WPA3 Windows Passpoint Profile
<WLANProfile xmlns="http://www.microsoft.com/networking/WLAN/profile/v1">
<name>Real - Passpoint</name>
<SSIDConfig>
<SSID>
<hex>4D79202D205061737373706F696E74</hex>
<name>My - Passspoint</name>
</SSID>
</SSIDConfig>
<Hotspot2>
<DomainName>attwifi.com</DomainName>
@simeononsecurity
simeononsecurity / test-public-dns-domain-resolution.ps1
Created April 5, 2024 01:39
Test Domain Name Resolution against Popular DNS Servers
# Define the list of domains to test
$domains = @("google.com", "simeononsecurity.com", "github.com")
# Define a list of public DNS servers, including those with ad and tracker blocking, and major ISPs
$dnsServers = @{
"Google" = @("8.8.8.8", "8.8.4.4")
"Control D" = @("76.76.2.0", "76.76.10.0")
"Quad9" = @("9.9.9.9", "149.112.112.112")
"OpenDNS Home" = @("208.67.222.222", "208.67.220.220")
"Cloudflare" = @("1.1.1.1", "1.0.0.1")
### Keybase proof
I hereby claim:
* I am simeononsecurity on github.
* I am simeononsecurity (https://keybase.io/simeononsecurity) on keybase.
* I have a public key whose fingerprint is 73A2 2371 657E A449 A013 4040 08C9 22E0 F8EA A0B3
To claim this, I am signing this object:
@simeononsecurity
simeononsecurity / .Htaccess Protection
Created September 28, 2013 21:26
.Htaccess Protection
## Disable the server signature
ServerSignature Off
## protect against DOS attacks by limiting file upload size - 10240000 is 10 megabytes
LimitRequestBody 10240000
## pass the default character set
AddDefaultCharset utf-8
## Deny Access to these protected file extensions