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
blueprint:
name: Inovelli LED Color Based on Weather
description: >
Set the LED color of Inovelli dimmers and switches based on the current
weather conditions from a specified weather entity. Specific to Z-Wave
devices using Z-Wave JS and Zigbee devices using ZHA.
domain: automation
input:
weather_entity:
name: Weather Entity
We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 1 column, instead of 3 in line 1.
#PLMNS from Wikipedia 20240805
MCC,MNC,Operator
901,1,Webbing
901,2,GlobalmatiX AG
901,4,BBIX Singapore Pte. Ltd.
901,5,Thuraya RMSS Network
901,6,Thuraya Satellite Telecommunications Company
901,7,NTT Ltd.
901,8,SpaceX
901,9,China Telecommunications Corporation
#!/bin/bash
#sudo curl -sSL -H "Cache-Control: no-cache" -H "Pragma: no-cache" https://gist.githubusercontent.com/simeononsecurity/4b7d24a4a33e0e9731a2af6bad9cfb5f/raw/unicore.sh | bash
# Branding message
echo "###########################################################"
echo "# #"
echo "# Visit https://simeononsecurity.com for more info #"
echo "# Please consider donating at #"
// 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