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 asyncio | |
import aiohttp | |
import lxml.html | |
import csv | |
import sys | |
tm_baseurl = "https://www.trendmicro.com" | |
encyc_toppage = f"{tm_baseurl}/vinfo/us/threat-encyclopedia/malware" | |
async def getnumpages(): |
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
alert(1); |
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
from secrets import token_bytes | |
from hashlib import sha1 | |
from sha import compression, initial_values, pad | |
iv = b''.join(i.to_bytes(4, 'big') for i in initial_values) | |
secret_key = token_bytes(51) | |
def keyed_hash(msg): | |
return sha1(secret_key + msg).digest() |
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
#include <pbc/pbc.h> | |
#include <memory> | |
#include <iostream> | |
namespace neko::crypto::pairing | |
{ | |
namespace params | |
{ | |
const char *ss1024 = "type a1\n" | |
"p 48512875896303752499712277254589628516419352188294521198189567511009073158115045361294839347099315898960045398524682007334164928531594799149100548036445760110913157420655690361891290858441360807158247259460501343449199712532828063940008683740048500980441989713739689655610578458388126934242630557397618776539259\n" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
package jp.nekopippi; | |
import java.io.IOException; | |
import static java.lang.Math.abs; | |
import java.util.Arrays; | |
import java.util.Random; | |
import java.util.stream.IntStream; | |
import java.nio.ByteBuffer; | |
import java.nio.channels.ByteChannel; | |
import java.nio.file.Path; |
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
for (let i = 0; i <= 30; ++i) { | |
if (i % 15 == 0) { | |
console.log("fizzbuzz"); | |
} else if (i % 5 == 0) { | |
console.log("buzz"); | |
} else if (i % 3 == 0) { | |
console.log("fizz"); | |
} else { | |
console.log(i); | |
} |
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 | |
function fizz() { | |
sleep 30 | |
while : | |
do | |
touch fizz | |
echo -n fizz | |
sleep 3 | |
rm fizz |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.