Skip to content

Instantly share code, notes, and snippets.

View luckythandel's full-sized avatar
💻
Doing Good in BTECH First Year With IBM CSF Course

lucky luckythandel

💻
Doing Good in BTECH First Year With IBM CSF Course
View GitHub Profile
/* process(char*) */
void process(char *param_1)
{
undefined *puVar1;
int iVar2;
size_t sVar3;
uint uVar4;
/* MobileMouseSession(void*) */
undefined4 MobileMouseSession(void *param_1)
{
int __fd;
undefined4 uVar1;
size_t __n;
ssize_t sVar2;
void main(undefined4 param_1,undefined4 param_2)
{
int *piVar1;
char *pcVar2;
int iVar3;
allocator *paVar4;
SessionContext *pSVar5;
undefined4 uVar6;
@luckythandel
luckythandel / event_topics.md
Last active March 10, 2022 15:17
Cyberonites Event Topics
  • HTTP Traffic #[what is http, uses, form manually using netcat] --> Aman sir IIIrd year

  • HTTPS Traffic #[difference between HTTP and HTTPS, traffic on wireshark, ncat to form a ssl connection] --> Aman sir III year

  • HTTP headers --> (Akansha & Aman sir Both partially )

  • MITM (intro, wireshark or some other framework, dos) --> Chirag IInd

  • Telnet, FTP Intro #[client view only] --> Utkarsh Pranav & Harsh sir IInd & IIIrd

@luckythandel
luckythandel / correlation.py
Created January 28, 2022 13:50
coefficient of correlation
#!/bin/env python3
import math
def mul(x, y):
xy = []
for a,b in zip(x,y):
xy.append(a*b)
return xy
def total(arr):
@luckythandel
luckythandel / regression.py
Created January 28, 2022 13:27
math IInd year regression
#!/bin/env python3
import math
def mul(x, y):
xy = []
for a,b in zip(x,y):
xy.append(a*b)
return xy
def total(arr):
@luckythandel
luckythandel / Binomail_distribution.py
Created January 23, 2022 09:18
binomial distribution in python. finds Theoretical frequency , mean, p, q, total(f, fx), p(r), N*p(r)
import math
def mean(xf, f):
return xf/f
def mul(arr1, arr2):
mul_arr = []
for i in range(0, len(arr1)):
mul_arr.append(arr1[i]*arr2[i])
return mul_arr
@luckythandel
luckythandel / exploit.py
Created September 6, 2021 07:49
grabCONCTF2021 - pwn - `Can You?`
#!/usr/bin/env python3
from pwn import *
context.arch = 'i386'
'''
we saw that there is a format string vulnerability. so, it is easy to get the stack cookie value and add it in a proper way to
successfully over write the value of return pointer.
'''
canary_format_str = "%31$p" # format string for canary.
win = p32(0x08049236) # win function