Anything related to windows
security stuff, scripts, how tos and other things
- security scripts
- uber basic check for kelogers.py
- start-win-defender.bat
- check for systemstats.py v1
- check for pc's pids names and usage stats and send them to a file to search later .py v2
- pid killer (ranges too)
- block all .zip .rar .mov top level domains
- How to disable Start up Apps
- How to admin people Via Run
- change another users passwd without knowing it
- fix windows files
- every tool for windows in a single file :D
- download file to sshed windows server
- How to Remove 'Show More Options' From the Windows 11 Context Menu - Command Prompt
- firefox yt better audio scaling for when im studying
- uhhh websites to visit
- windows 10 exploerer in windows 10
security scripts
uber basic check for kelogers.py
start-win-defender.bat
@echo off
echo Starting Windows Defender malware scan...
"%ProgramFiles%\Windows Defender\MpCmdRun.exe" -Scan -ScanType 1
echo Scan complete.
pause
check for systemstats.py v1
check for pc's pids names and usage stats and send them to a file to search later .py v2
pid killer (ranges too)
block all .zip .rar .mov top level domains
current research
impossible
How to disable Start up Apps
Via Task Manager
-
-
press Ctrl+Shift+Esc.
-
or
-
-
Open the Task Manager by right-clicking on the taskbar and selecting "Task Manager"
-
-
-
Click on the "Startup" tab to see a list of programs that start automatically with Windows.
-
Disable the ones you don't need by right-clicking on them and selecting "Disable".
-
this one is only a small potion of the auto start up tasks and may no longer work on newer windows versions
-
-
-
-
-
Via Settings
-
-
-
in the search bar or the settings app search for startup apps
-
Some apps may have an option in their settings to disable the automatic startup.
-
you "may" find something there i literally never have
-
stg this is useless but hay its "an option"
-
-
-
Via System Configuration:
-
-
Windows key + R to open "Run"
-
type the fallowing program name then click Enter.
-
-
msconfig
-
Click on the "Startup" tab to see a list of programs that start automatically with Windows.
-
Disable the ones you don't need by unchecking the checkbox next to them.
-
if you are running into extensive issues you may need to enable diagnostic startup and see if you still have problems
-
-
Via Registry Editor
-
"DISCLAIMER" This method should only be used if you have experience with editing the Windows registry.
-
-
Open the Registry Editor by pressing the Windows key + R and typing "regedit" in the Run dialog box.
-
paste these into the URL bar
-
-
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
-
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
-
-
OBVIOUSLY local and current users are different
-
HKEY_CURRENT_USER
-
is for the logged in user and
-
-
HKEY_CURRENT_USER
-
but you also have
-
-
HKEY_USERS
-
this is for other users on the pc
-
-
HKEY_USERS\useridgoeshere\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
-
-
if you have allot of users on your PC u might just want to loginto there acct by admining them and changing there password
-
-
-
-
-
Remember to only disable apps that you're sure you don't need, as disabling the wrong program could cause problems with your system.
How to admin people Via Run
-
-
-
-
-
-
key + R to open the Run dialog box.
-
Type "control userpasswords2" in the Run dialog box and press Enter.
-
control userpasswords2
-
-
click on user
-
click properies
-
click group membership
-
click administrator
-
click apply
-
-
-
-
-
change another users passwd without knowing it
-
-
-
-
-
-
open cmd as admin by searching it in the search bar then clicking run as administrator
-
paste this command into the terminal
-
-
net user [username] [new password]
-
replace username with the users username
-
and new password with your preferred password
-
-
-
-
-
-
disclaimer don't do this without there permission
fix windows files
- start CMD or PowerShell in admin mode
- type or past
- sfc /scannow
- restart pc
- regardless if it fixes stuff, then do
- DISM /Online /Cleanup-Image /RestoreHealth
- when its done restart
- then do
- sfc /scannow
- again
- sfc /scannow
- then restart
-
- and boom all of your corrupt files should be fixed
-
- u could do
- DISM /Online /Cleanup-Image /RestoreHealth
- again and restart but that's up to you
every tool for windows in a single file :D
- change the name of a folder in your desktop to
- GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
download file to sshed windows server
- Open your SSH client and log in to the Windows server.
- Navigate to the directory where you want to download the file.
- Use the "curl" command followed by the URL of the file you want to download.
- curl -LJO
- example location:[
- curl -LJO https://github.com/Fictiverse/bark/releases/download/0.2/Bark_WebUI.7z
- Press Enter to start the download. The file will be downloaded to your current directory on the server.
what does -LJ0 mean?
-
-L
or--location
: Follow HTTP(S) redirects. This flag tellscurl
to automatically follow any HTTP redirects that the server may send, allowing it to download the file from the correct URL even if the server responds with a redirect. -
-J
or--remote-header-name
: Use the remote header name for the downloaded file. This flag tellscurl
to use the suggested filename in the Content-Disposition header, which is typically set by the server when you download a file. In your case, the server sets the filename toBark_WebUI.7z
, and this flag tellscurl
to use that filename instead of just saving the file with a generic name likedownload
. -
-O
or--remote-name
: Use the remote file name for the downloaded file. This flag tellscurl
to save the downloaded file with the same name as it has on the server.
So in summary, -LJO
tells curl
to follow redirects and use the filename suggested by the server, and to save the file with the same name it has on the server.
How to Remove 'Show More Options' From the Windows 11 Context Menu - Command Prompt
Open Windows Terminal, Command Prompt, or PowerShell.
Disable:
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
Enable:
reg delete "HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
firefox yt better audio scaling for when im studying
// ==UserScript==
// @name Youtube Music fix volume ratio
// @namespace http://tampermonkey.net/
// @version 0.4
// @description Makes the YouTube music volume slider exponential so it's easier to select lower volumes.
// @author Marco Pfeiffer <git@marco.zone>
// @icon https://music.youtube.com/favicon.ico
// @match https://music.youtube.com/*
// @run-at document-start
// @grant none
// ==/UserScript==
(function() {
'use strict';
// manipulation exponent, higher value = lower volume
// 3 is the value used by pulseaudio, which Barteks2x figured out this gist here: https://gist.github.com/Barteks2x/a4e189a36a10c159bb1644ffca21c02a
// 0.05 (or 5%) is the lowest you can select in the UI which with an exponent of 3 becomes 0.000125 or 0.0125%
const EXPONENT = 3;
const storedOriginalVolumes = new WeakMap();
const {get, set} = Object.getOwnPropertyDescriptor(HTMLMediaElement.prototype, 'volume');
Object.defineProperty(HTMLMediaElement.prototype, 'volume', {
get () {
const lowVolume = get.call(this);
const calculatedOriginalVolume = lowVolume ** (1 / EXPONENT);
// The calculated value has some accuracy issues which can lead to problems for implementations that expect exact values.
// To avoid this, I'll store the unmodified volume to return it when read here.
// This mostly solves the issue, but the initial read has no stored value and the volume can also change though external influences.
// To avoid ill effects, I check if the stored volume is somewhere in the same range as the calculated volume.
const storedOriginalVolume = storedOriginalVolumes.get(this);
const storedDeviation = Math.abs(storedOriginalVolume - calculatedOriginalVolume);
const originalVolume = storedDeviation < 0.01 ? storedOriginalVolume : calculatedOriginalVolume;
// console.log('manipulated volume from', lowVolume.toFixed(2), 'to ', originalVolume.toFixed(2), storedDeviation);
return originalVolume;
},
set (originalVolume) {
const lowVolume = originalVolume ** EXPONENT;
storedOriginalVolumes.set(this, originalVolume);
// console.log('manipulated volume to ', lowVolume.toFixed(2), 'from', originalVolume.toFixed(2));
set.call(this, lowVolume);
}
});
})();
uhhh websites to visit
# Define the URLs for the security news websites
$csoUrl = "https://www.csoonline.com"
$krebsUrl = "https://krebsonsecurity.com"
$darkReadingUrl = "https://www.darkreading.com"
# Function to fetch and display headlines from a URL
function Get-NewsHeadlines {
param (
[string]$url
)
try {
# Fetch content from the URL
$response = Invoke-WebRequest -Uri $url -UseBasicParsing
# Parse and extract headlines - Adjust selectors as needed for each site
$headlines = $response.Content | Select-String -Pattern "<title>(.*?)</title>" -AllMatches | ForEach-Object { $_.Matches.Groups[1].Value }
# Display the headlines
$headlines | Select-Object -First 5 # Adjust the number to control how many headlines are displayed
}
catch {
Write-Host "Error fetching news from $url. Please check the URL or network connectivity."
}
}
# Fetch and display news from each website
Write-Host "CSO Online Latest Headlines:"
Get-NewsHeadlines -url $csoUrl
Write-Host "`nKrebs on Security Latest Headlines:"
Get-NewsHeadlines -url $krebsUrl
Write-Host "`nDark Reading Latest Headlines:"
Get-NewsHeadlines -url $darkReadingUrl
windows 10 exploerer in windows 10
Open File Explorer and navigate to Control Panel from the Address bar.
From Control Panel, open the navigation again from the Address bar and click on Home.
sometimes if you type explorer in it it works