This file contains hidden or 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
--[[ | |
Check for running instances of Selenium Server susceptible to SeleniumGreed crypto-miner. | |
Additional Info: | |
https://sgarver.github.io/2024/09/01/selenium-service-version-detection.html | |
Example: | |
nmap -sV --script selenium-version.nse 127.0.0.1 | |
]]-- |
This file contains hidden or 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
--[[ | |
Detect out-dated version of Ivanti Connect Secure | |
Additional info: | |
https://sgarver.github.io/2024/09/15/check-ivanti-for-legacy-status.html | |
Note: | |
Logic inspired by the check function cound in the ivanti_connect_secure_rce_cve_2024_21893 msf module: | |
exploit/linux/http/ivanti_connect_secure_rce_cve_2024_21893 |
This file contains hidden or 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
#!/bin/bash | |
# example: | |
# scopes.sh 1 && scopes.sh 2 | |
# TODO: refactor to loop through each page | |
# get page $1 (first argument) of program handles where offers_bounties == true && submission_state == "open" | |
handles=` | |
curl -s "https://api.hackerone.com/v1/hackers/programs?page%5Bnumber%5D=$1&page%5Bsize%5D=100" \ |
This file contains hidden or 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
xrandr --output HDMI-0 --rotate left |
This file contains hidden or 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
magick mogrify -trim +repage -layers flatten -colorspace rgb -background white -alpha off -strip -colorspace GRAY -trim -resize 450x450 -gravity center -extent 450x450 -format jpg -quality 100 *.* |
This file contains hidden or 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
var getMaxPageHeight = function () { | |
var body = document.body, | |
html = document.documentElement; | |
return Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight ); | |
}; | |
var setWindowHeight = function () { |
This file contains hidden or 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
convert ~/images/background.png \ | |
\( +clone overlay.png -alpha off -compose multiply -composite \) \ | |
-compose In -composite result.png |
This file contains hidden or 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
sudo update-alternatives --config x-cursor-theme |
This file contains hidden or 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
sudo convert -negate /usr/share/unity/icons/launcher_bfb.png /usr/share/unity/icons/launcher_bfb.png |
This file contains hidden or 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
/*! | |
* Dependencies: https://github.com/hazzik/livequery | |
*/ | |
// setup temp selects for test | |
var testSelect = | |
'<select>' + | |
'<option value="volvo">Volvo</option>' + | |
'<option value="saab">Saab</option>' + | |
'<option value="mercedes">Mercedes</option>' + |
NewerOlder