Source: forked(original repo) from Purp1eW0lf/Blue-Team-Notes(2023.05.18)
A collection of one-liners, small scripts, and some useful tips for blue team work. I've included screenshots where possible so you know what you're getting.
Source: forked(original repo) from Purp1eW0lf/Blue-Team-Notes(2023.05.18)
A collection of one-liners, small scripts, and some useful tips for blue team work. I've included screenshots where possible so you know what you're getting.
/* ==UserStyle== | |
@name twitter.com - 24/07/2023, 22:01:46 | |
@namespace github.com/openstyles/stylus | |
@version 1.0.1 | |
@description Remove all the crud from twitter | |
@author Remy Sharp | |
==/UserStyle== */ | |
@-moz-document domain("twitter.com") { | |
h1 a[aria-label="Twitter"] svg, /* stupid new logo */ |
(() => { | |
let activeMode = "default"; | |
const modes = { | |
default: (_) => _, | |
camel: (_, c) => c.toUpperCase(), | |
snake: (_, c) => `_${c}`, | |
kebab: (_, c) => `-${c}`, | |
smoosh: (_, c) => c.toLowerCase(), | |
}; | |
const root = document.createElement("div"); |
// ==UserScript== | |
// @name spinning rats for twitter | |
// @namespace twitter scripts | |
// @match *://*.twitter.com/* | |
// @grant none | |
// @version 1.0 | |
// @author @chaoticvibing - GH @busybox11 | |
// @description 7/17/2023, 2:15:52 AM | |
// ==/UserScript== |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Screen recorder</title> | |
</head> | |
<body> | |
<button id="recording-toggle">Start recording</button> | |
<script defer> |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>FAQ Section</title> | |
<link rel="stylesheet" href="./index.html.css"/> |
const bitstringToBigInt = bstr => { | |
let counter = 0n; | |
let byteindex = 0n; | |
for (let i = bstr.length - 1; i >= 0; i--) { | |
if (bstr[i] === '1') { | |
counter += 2n**byteindex; | |
} | |
byteindex++; |
========================================================================================================== | |
Firewall.cpl Windows Firewall | |
WF.msc Windows Firewall with Advanced Security | |
========================================================================================================== | |
#Bard | |
This command will return a table with the profile name, the status of the Windows Defender Firewall for the profile, and the name of the profile | |
Get-NetFirewallProfile | Select-Object -Property ProfileName, Enabled, Name | |
If you want to check the status of the Windows Defender Firewall for a specific profile |