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 <iostream> | |
using namespace std; | |
class Base{ | |
public: | |
class iImplement{ | |
public: | |
virtual int func() = 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
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <sys/un.h> | |
#include <stdio.h> | |
#define DATA "Half a league, half a league . . ." | |
int main(int argc, char *argv[]) | |
{ | |
int sock; | |
struct sockaddr_un server; |
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
(Q01) このゲームの発売を何で知りましたか。当てはまるものを全て選んでください。 * | |
・(5)【WEB】Twitter | |
・(9)【WEB】YouTube等の動画サイト | |
(Q02) 上記【Q1】で選んだ中で、このゲームを買う気持ちにさせたものがあれば、当てはまるものを全て選んでください。 * | |
・(20)その他 | |
ガルパンなので | |
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 <stdlib.h> | |
#include <unistd.h> | |
#include <sys/ioctl.h> | |
#include <sys/socket.h> | |
#include <bluetooth/bluetooth.h> | |
#include <bluetooth/hci.h> | |
#include <bluetooth/hci_lib.h> | |
#include <bluetooth/l2cap.h> |
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
N := 19453732258977745326025388758153985268982006451140824757000875212184286083381433617263912942983251278765032307210603967448246956716093385842705010547192205186910095528300402766101045595333634096500655068058435734427982638921074554555571353505677629583868624108023562705093181155852260863983232786900810202073059839371840527359556882787435383770700645818449308217497410666233956061743392826535373069509760643989700464609464412901676248732563432520371024184711302194691802836944113690223114313957200851128792883769170373839498570722327593478812307737852154233310488665561546258102925094401429619023719535721669309886801; | |
e := 4919; | |
b1 := 8647392495075284586548125053897080181427884587953428198663211066543424848882559413547481401555388148173300779522508012444306176388573824367978331794292321997588861312809739697360348424731601844940901201476789560896078700515769801508830828430671230593270780229692559199720800590134025290378426930142331597763530215482120642786982094560176551123542596079887959171152516960073449768979 |
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
# wieners_attack.py | |
import sys | |
import gmpy | |
from Crypto.Util.number import * | |
# site:http://inaz2.hatenablog.com/entry/2016/01/15/011138 | |
# Thanks to inaz2!! | |
def continued_fraction(n, d): |
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 Crypto.Hash import SHA256 | |
import string | |
from pwn import * | |
import hashlib | |
from Crypto.Util.number import * | |
conn = remote("oracle.tasks.ctf.codeblue.jp", 7485) | |
conn.recvuntil("SHA256(XXXX+") | |
proof = conn.recvuntil(") == ")[:-5] | |
digests = conn.recvuntil("\n")[:-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 Crypto.Util.number import * | |
import math as m | |
pk = 96830320718560739293379878238768952265614756171279529928388228744099711198533704360734785267667597236291841958271646649390182746070645070895308874665779525432853568301523847320272382915743042786742108722618946719564684466880283781962341493563576465853009922759083074151024922189557488477143682777031830555131717683949459788154241030810817511183483921557095651734089919428878485882643121350971395252886628799339061394806249144161074710734864860237918511455472377404066256040745584083211027181393303262480507378802499306797314844392530325379547084756353623169261733600334525342078172808054510701397998922521505160806204464240435031886029755268432583012265106649847149479619714083004622842410729056884409334020426736108274207882028780628354956423394367510799807656654335239006951154995696474841672076351375135888766716733212608007543008723398196680642758052037025780805090765340110432732663109787713931724606849966950129694205053612262612876467934568633450800379915703114 |
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 Crypto.Util.number import * | |
pk = 6916117662085460734448761222610677882779788584537106390297619743586664891715918898083445928714680813683487312895848738256858366995133690879407442330444704681062837562690168886903978020876125626507406906268440509816381587986508991643290248890123398132516343421697963744901733248581776554125205810640913231057097038028946357522435041655277283254937755850180995724912187388591400692097453830859721264196779299838544920189484951624574284595360883144879226831480313886118490132275019624583868178511949135514058430747403081928412590159554322166584182194713657812717430268810450541611776995002339839452844630600910844010326816201625544954903079666080117653991975341755883947698399919527262691059735460869643859778361932160938426055763475804653908583785779131733912097281998479169443926856089597209197454415341521407914332286428572478215195853270918648901228717652669882855107289432799701358469089665161305972495527101860719546111332940790175000303552328955413674271539225279259081086439342130 |
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 Crypto.Util.number import * | |
pk = 7913113090873745889342743549163491412331507787620863153743438501268087822842949212281109163221788985516916691331019979071275871215202881665744686052145163041229277638434346532156813608725232532907662970445108706177451229977398149472868923768887763195525161411363636733158159995970350687067443620484808520749890631523338807543751965513555430362004943149736280120069251541689138555871624657142079177146558102652938146974010629348814009698281665194154654398141606734689680098876725462437711909063005443759620025743340181750074982316322400218055936350571878423538404619734492058394191958269921691771083070044043657454627067979694367182121508881712996208000511837556816312500409362881495923438906169201534006911029339667240257657664183384525952188615820080261860679465082212649387365620821928907279808444449780811105997149930309900313634571842961684570899535105004740332342982523852327253931949570860652742637435507412424531405573839813584978073184767775582087958166506194010572838733027258 |
NewerOlder