- Google Safe Browsing: Report a Malware Page https://safebrowsing.google.com/safebrowsing/report_badware/?hl=en
- Report an unsafe site - Microsoft Security Intelligence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM DIR /R | |
echo.> "MyDownloadedFile.exe":Zone.Identifier | |
REM echo.>"OfficeSetup (1).exe:SmartScreen:$DATA" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM How to Run Windows Installer in Safe Mode Windows 10 with Command Prompt | |
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\MSIServer" /VE /T REG_SZ /F /D "Service" | |
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\SafeBoot\Network\MSIServer" /VE /T REG_SZ /F /D "Service" | |
net start msiserver |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set prompt=$T$H$H$H$H$H$H$S%computername%\%username%$S$M$P$+$G | |
22:14 DESKTOP\User C:\Users\User> | |
set prompt=$T$H$H$H$H$H$H$S%UserName%@%ComputerName%$B$M$P$+$G | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Collection of DNS service IPs and URLs for blocking malware |
Security Advisories / Bulletins / vendors Responses linked to Log4Shell (CVE-2021-44228)
- If you want to add a link, comment or send it to me
- Feel free to report any mistake directly below in the comment or in DM on Twitter @SwitHak
- Royce Williams list sorted by vendors responses Royce List
- Very detailed list NCSC-NL
- The list maintained by U.S. Cybersecurity and Infrastructure Security Agency: CISA List
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// insert your Spotify client id and secret here | |
let clientId = "xxx" | |
let clientSecret = "xxx" | |
// use your spotify country iso code to optimize search results | |
let spotifyCountry = "DE" | |
// optional: the ip of your node-sonos-http-api and room name; use "sonos" as parameter in your widget settings to activate it | |
let sonosUrl = "http://192.168.178.10:5005/Kitchen" |
- In legacy GRUB the default is
/boot/grub/menu.list
- In GRUB2 the default is
/boot/grub/grub.cfg
- We mainly edit
/etc/default/grub
, which controls mainly the appearance of the GRUB menu. - We may also edit the scripts in
/etc/grub.d/
- These are the scripts that boot your operating systems, control external applications such as
memtest
&os_prober
theming./boot/grub/grub.cfg
is built from/etc/default/grub
&/etc/grub.d/*
update-grub
grub>
prompt, that is the full GRUB 2 command shell.- GRUB2 started normally and loaded the
normal.mod
module other modules which are located in/boot/grub/[arch]/
- If GRUB2 didn’t find
grub.cfg
file then,grub rescue>
is prompted that means it couldn’t findnormal.mod
, so it probably couldn’t find any of the boot files.
- Users are on the system are listed in an alphabetical order -
cut /etc/passwrd -d":" -f1 | sort
- User has shell access -
cat /etc/passwd | cut -d":" -f4,5,6,7 | grep "^0"
or count -cat /etc/passwd | cut -d":" -f4 | grep "^0" | wc -l
- Export the Users' list to a file -
cut /etc/passwd -d ":" -f1 > system_users.txt
- Count the number of Users -
cat ./system_users.txt | sort | wc –l
- Compare -
cat ./system_users.txt - cut /etc/passwd -d ":"
-f1 > system_users002.txt
&&
cat system_users002.txt | sort | wc -l
- Diff -
diff ./system_users.txt ./system_users002.txt
- how many words begin with the letter a from the main user dictionary -
egrep '^a.*$' /usr/share/dict/words | wc -l
- tee to both view and write files and directories in /etc -
ls -d /etc/a* | tee ./etc_report_a.txt
- Kernel Info -
lsb_release -a
oruname -a
orhostnamectl
orcat /proc/os-release
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off& title RunAsTI - lean and mean snippet by AveYo, 2018-2022 | |
goto :nfo | |
[FEATURES] | |
- innovative HKCU load, no need for reg load / unload ping-pong; programs get the user profile | |
- sets ownership privileges, high priority, and explorer support; get System if TI unavailable | |
- accepts special characters in paths for which default run as administrator fails | |
- adds Send to - RunAsTI right-click menu entry to launch files and folders as TI via explorer | |
[USAGE] | |
- First copy-paste RunAsTI snippet after .bat script content | |
- Then call it anywhere to launch programs with arguments as TI |
NewerOlder