Skip to content

Instantly share code, notes, and snippets.

@grocid
Last active March 31, 2019 21:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grocid/b9a5f91e0a5941be096b62ec7f2fb7b8 to your computer and use it in GitHub Desktop.
Save grocid/b9a5f91e0a5941be096b62ec7f2fb7b8 to your computer and use it in GitHub Desktop.
VolgaCTF - Blind
n = 26507591511689883990023896389022361811173033984051016489514421457013639621509962613332324662222154683066173937658495362448733162728817642341239457485221865493926211958117034923747221236176204216845182311004742474549095130306550623190917480615151093941494688906907516349433681015204941620716162038586590895058816430264415335805881575305773073358135217732591500750773744464142282514963376379623449776844046465746330691788777566563856886778143019387464133144867446731438967247646981498812182658347753229511846953659235528803754112114516623201792727787856347729085966824435377279429992530935232902223909659507613583396967
e = 65537
c = int(("cat flag").encode("hex"), 16)*2
print(base64.b64encode(hex(c)[2:-1].decode("hex")))
print(base64.b64encode("\x02"))
signed = 14051442338799197402245412748652170070240746951544740102911359041400330060417135850717604098750427224541125151264980129044777447109919923878674516358804118277371003738761035083022079854145251914713769493347231294922443863482884735835925203292550303614592675544314560778788560063595382673810776482174975453722362324212022593054931692611904394921456444467671102986697025502556257427749429925913996800926329295675456560775466820804581923755310982255819558335969142156582410425832086800224243657646848867758312502626113122378454063956323685483552297549230811846063347107924339644044192982093798430510018301808573947593701
signed2 = 9678539760061629065279127217035220490739299149310018601898180069730193914409806713093033322324400813245623989974018114891935346235101163781791887355858728710321183156151427173420580990031061183600518113678125671915456721179968485618000905984905697499205055618748757117479120353619345265416818044530116631740551067466513712954080279736599672398465753744091014178523672896565934567371899999372646226126093516910871088898659546183481982518733859271549199093337813672096108472415215455073181845392877346016017572185164466419685760040507591420832531469667947222961864905822556906029118438087876474929086366407888997303881
signed/signed2, "cat flag"
VolgaCTF{B1ind_y0ur_tru3_int3nti0n5}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment