Of Questionable Relevancy
open-menucloseme
  • Golden Ticket

    calendar Aug 18, 2024 · 2 min read · ctfs math  ·
    Share on: twitter facebook linkedin copy

    Golden Ticket (idek 2024) So we’re given the following: from Crypto.Util.number import * #Some magic from Willy Wonka def chocolate_generator(m:int) -> int: p = …


    Read More
  • B4B8

    calendar Apr 21, 2024 · 12 min read  ·
    Share on: twitter facebook linkedin copy

    B4B8 BB84 This challenge is based on the BB84 Quantum Key Distribution Protocol for the secure creation of shared secrets. The standard protocol is as follows: Alice creates a set of entangled qubit pairs (bell pairs) Alice sends said qubits to Bob. Both Alice and Bob randomly pick whether to apply a Hadamard gate for …


    Read More
  • Fixed Points for RSA
    You’ve forgotten the essence of factoring.

    calendar Jan 27, 2024 · 2 min read · Number Theory math  ·
    Share on: twitter facebook linkedin copy

    Suppose that you were merrily encrypting your data and sending them to your friend whose public key he gave you and you happen to find some data that remains unchanged after exponentiation. That is, you have found a number $x$ such that $x^e=x \mod n$. You can now factor their number. Now if you’re like me, you …


    Read More
  • binfmt_misc and WSL

    calendar Dec 11, 2023 · 4 min read  ·
    Share on: twitter facebook linkedin copy

    So if you work with wsl on windows, you’ve likely learned that you can execute, from the wsl terminal, windows executables. This is surprising! If wsl is just a linux kernel running in a virtual machine, how does it know how to deal with windows executables? Also, once it does know, how does it signal to the host …


    Read More
  • Gdb autoloading of local .gdbinit files

    calendar Oct 25, 2023 · 1 min read · gdb notes  ·
    Share on: twitter facebook linkedin copy

    So while figuring out how to attach the vscode to debug the openjdk, I learned the rather surprising fact that apparently the jvm uses segfaults as a signalling mechanism in some cases (clearly this should eventually require its own research and blog post). Anyhow, to handle this, the apparent recommendation for using …


    Read More
  • Systems of Xor
    How likely is a random matrix over $\mathbb{Z}_2$ to be invertible?

    calendar Oct 23, 2023 · 3 min read · math ctfs  ·
    Share on: twitter facebook linkedin copy

    In a recent CTF, we were given the ability to obtain the signatures of arbitrary messages, and we were given the signature of the flag.


    Read More
  • Eclairs
    Any problem can be a linear problem if it tries hard and believes in itself.

    calendar Oct 17, 2023 · 6 min read · math ctfs  ·
    Share on: twitter facebook linkedin copy

    A problem from TCP1P Ctf.


    Read More
  • Extcap

    calendar Oct 15, 2023 · 3 min read · notes networking hardware  ·
    Share on: twitter facebook linkedin copy

    So the Wireshark explicit documentation on extcap is somewhat sparse, so I’m writing down my own investigation on how the protocol works.

    For reference, here is the Wireshark documentation:

    https://www.wireshark.org/docs/man-pages/extcap.html https://www.wireshark.org/docs/wsdg_html_chunked/ChCaptureExtcap.html …


    Read More
  • Vectorspace vs lattice

    calendar Sep 21, 2023 · 1 min read · math number theory lattices  ·
    Share on: twitter facebook linkedin copy

    So given a collection of linearly independent vectors $$v_1, v_2, \ldots, v_n$$ we can form the n dimensional vector space with the above collection of $v_i$ as our basis. In fact, we basically define the dimension of a Vector space by the size of the smallest set of vectors that span the space. Importantly, given any …


    Read More
  • ‘Easy’ HackTheBox Challenge

    calendar Sep 20, 2023 · 1 min read · hack the box hacking  ·
    Share on: twitter facebook linkedin copy

    Well it turns out that I’m bad at even ’easy’ HackTheBox Challenges. :)


    Read More
    • ««
    • «
    • 1
    • 2
    • 3
    • »
    • »»

Recent Posts

  • Golden Ticket
  • B4B8
  • Fixed Points for RSA
  • binfmt_misc and WSL
  • Gdb autoloading of local .gdbinit files
  • Systems of Xor
  • Eclairs
  • Extcap

Categories

NUMBER THEORY 2

Tags

MATH 7 CTFS 3 HACKING 3 NOTES 3 NUMBER THEORY 3 HARDWARE 2 NETWORKING 2 GDB 1 HACK THE BOX 1 LATTICES 1 PROBABILITY 1 ZIG 1
Of Questionable Relevancy

Copyright  OF QUESTIONABLE RELEVANCY. All Rights Reserved

to-top