Skip to content

Instantly share code, notes, and snippets.

View hyp3r5pace's full-sized avatar
💭
learning...

Soumyajit Deb hyp3r5pace

💭
learning...
View GitHub Profile
@hyp3r5pace
hyp3r5pace / gist:5d96644bcdcc403fbde1f93db4f0e94b
Created November 18, 2021 20:08 — forked from mickeypash/gist:b0b22ab84495fe4b033895a79dd78468
George Hotz - talking hour - 2020-08-31

Keybase proof

I hereby claim:

  • I am hyp3r5pace on github.
  • I am hyp3r5pac3 (https://keybase.io/hyp3r5pac3) on keybase.
  • I have a public key ASAArIEOqDtYb4GAZtGoEsTNTIVJM4Yxf6D9pG-FWItngAo

To claim this, I am signing this object:

@hyp3r5pace
hyp3r5pace / interestingFeaturesJS.md
Last active May 31, 2020 09:13
Some interesting and peculiar Javascript property I came to know about

Peculiar and interesting features of Javascript

  1. Infinity and Infinity comparison

    Comparing a Infinity with Infinity is a tricky thing to do. In mathematical sense, a Infinity is a notion of a big number whose value is not known. So, saying Infinity > Infinity or Infinity < Infinity or Infinity = Infinity in mathematics doesn't make much sense as we don't know the exact value of Infinity, so a comparison will be a weird thing to do with no definitive answer. But javascript doesn't go along with it. In Javascript, number data type has a special value called Infinity, which is an attempt to represent the mathematical infinity. This is introduced to make mathematics safe in Javascript, unlike other languages such as C. This makes operation such as 1/0 not break the code. :) In JS, a comaprison operator returns a true or false value (Boolean). So, a operation like Infinity > Infinity has two choices of output in JS, either a true or a false. But, by mathematical sense, answer to this is n
@hyp3r5pace
hyp3r5pace / picoCTF-2019.md
Last active June 5, 2020 17:17
Notes on problems of picoCTF-2019

PicoCTF 2019

What-lies-within (Forensics) (steganography)

Uses the concept of LSB encoding. Each bit in the binary form of the flag is stored in the the LSB of each pixel colour number (which ranges from 0 - 255 for grayscale images). This method is otherwise known as LSB encoding. One can use zsteg tool to find the flag.

Shark-in-the-wire (Forensics)

Used wireshark to solve this. The packet capture file has all the list of packets it captured. Filtering the packet list on the basis of certain protocol didn't yield any result. Rather, did a filtering on the basis of destination IP address (or address for some othe type of address) and then for each filtered list of packet, used wireshark stream feature to build the ASCII string content and get the whole string which was transfered as several packets. The packet capture sure did had lot of noises, but finally packet stream for destination IP 10.0.0.12 gave the flag.

@hyp3r5pace
hyp3r5pace / infosec_newbie.md
Created March 26, 2020 15:11 — forked from mubix/infosec_newbie.md
How to start in Infosec