Home
Tanishq Rupaal
Cancel

MD5 Collision Attack Lab - SeedLabs

A hash function is said to be secure if it is a one way hash function and is collision resistant. The one way property ensures that given a hash value h, it is computationally infeasible to find an...

Basics of Linux Commands and NetCat

A shell is an interface to the operating system’s services. All process are created by fork() and given a new direction by the exec() process. The trace of forks and calls can be seen from the stra...

Basics of Socket Programming in Java

Simple Client Program import java.util.*; import java.net.*; import java.io.*; public class client { public static void main(String[] args) throws Exception { Socket s = new Socke...

Fundamentals of SSL/TLS

Introduction Secure Socket Layer (SSL) or Transport Layer Security (TLS) is a protocol for secure transmission of data. It offers confidentiality, integrity and authentication by encrypting and si...

Linux Device Drivers

This is a practical study I made using some videos and written resources to understand device drivers to some extent. Building a module Device drivers hide the details of how the device works. Us...

Protostar Lab Write-Up

Stack 0 #include <stdlib.h> #include <unistd.h> #include <stdio.h> int main(int argc, char **argv) { volatile int modified; char buffer[64]; modified = 0; gets(bu...