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 title=prompt("Title: "); | |
document.title=title; | |
// javascript:(function()%7Bvar title%3Dprompt("Title%3A ")%3B%0Adocument.title%3Dtitle%3B%7D)()%3B |
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
u=prompt("URL: "); | |
m=prompt("Minutes: "); | |
w=window.open(u); | |
i=setInterval(function(){w.location.href=u;},m*60*1000); | |
// javascript:(function()%7Bu%3Dprompt(%22URL%3A%20%22)%3B%0Am%3Dprompt(%22Minutes%3A%20%22)%3B%0Aw%3Dwindow.open(u)%3B%0Ai%3DsetInterval(function()%7Bw.location.href%3Du%3B%7D%2Cm*60*1000)%3B%7D)()%3B |
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
import random | |
from time import time | |
print('\nWelcome!\n') | |
round=1 | |
total_time=0 | |
total_score=0 | |
total_rounds=0 |
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
import random | |
c=['q','w','r','t','y','p','s','d','f','g','h','j','k','l','z','x','c','v','b','n','m'] | |
v=['e','u','i','o','a'] | |
print(f'{c[random.randrange(len(c))]}{v[random.randrange(len(v))]}{c[random.randrange(len(c))]}{v[random.randrange(len(v))]}{c[random.randrange(len(c))]}{v[random.randrange(len(v))]}{c[random.randrange(len(c))]}{v[random.randrange(len(v))]}') |
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
$log_file = 'sysmon-checks.log' | |
$items = @( | |
"C:\Windows\Sysmon64.exe", | |
"C:\Windows\SysmonDrv.sys", | |
"HKLM:\SYSTEM\CurrentControlSet\Services\Sysmon64", | |
"HKLM:\SYSTEM\CurrentControlSet\Services\SysmonDrv", | |
"HKLM:\SYSTEM\ControlSet001\Services\Sysmon64", | |
"HKLM:\SYSTEM\ControlSet001\Services\SysmonDrv", | |
"HKLM:\SYSTEM\ControlSet002\Services\Sysmon64", |
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 | |
mkdir zips; | |
for i in *.zip; do | |
count=`unzip -l $i | rev | cut -d' ' -f2 | rev | xargs` | |
if [ $count -gt 1 ]; then | |
filename=`echo ${i:0:-4}`; | |
mkdir $filename; | |
unzip -d $filename $i; | |
else | |
unzip $i; |