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
{ | |
"mahasiswa": [ | |
"nim", | |
"nama", | |
"alamat", | |
"ipk" | |
], | |
"matakuliah": [ | |
"kode", | |
"nama", |
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 string import ascii_lowercase as u | |
import string | |
with open('secret.txt') as f: | |
datas = f.read().splitlines() | |
datas = { | |
'plain': datas[0], | |
'key': map(lambda x: -int(x), datas[1].split(',')) | |
} |
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
#!/usr/bin/python | |
(lambda _, __, ___, ____, _____, ______, _______, ________: | |
getattr( | |
__import__(True.__class__.__name__[_] + [].__class__.__name__[__]), | |
().__class__.__eq__.__class__.__name__[:__] + | |
().__iter__().__class__.__name__[_____:________] | |
)( | |
_, (lambda _, __, ___: _(_, __, ___))( | |
lambda _, __, ___: |
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 bs4 import BeautifulSoup as bs | |
import random, json, sys, re, requests as r | |
def send(payload): | |
s = r.Session() | |
datas = bs(s.get('http://challshl.com/').text, 'html.parser') | |
token = datas.find_all('input', { | |
'name' : 'cans_token' | |
})[0]['value'] |
NewerOlder