Skip to content

Instantly share code, notes, and snippets.

Avatar

Sauloh sauloh

View GitHub Profile
@sauloh
sauloh / sqliBruteForce.py
Created Dec 11, 2018
Script made for an specific CTF Challenge - SQL Injection Password BruteForce
View sqliBruteForce.py
# SQL Injection Password BruteForce for CTF Challenge
# By Hycodex
import requests
import string
# Payload Injection
payload = "'or+1=1 AND password LIKE '{0}%'#"
View gist:799832e01c801acf74e52ce91582ce0e
### Keybase proof
I hereby claim:
* I am sauloh on github.
* I am sauloh (https://keybase.io/sauloh) on keybase.
* I have a public key ASACRFPzVvBybzWpk5goJwO_FG7kiokcRuNBRZgkoO_mWQo
To claim this, I am signing this object:
@sauloh
sauloh / recursion.c
Created Nov 18, 2017
Code Snip for Shellter Coding Lesson
View recursion.c
int sum(int num)
if num is 1:
return 1
else
return num + sum(num - 1)
@sauloh
sauloh / SimpleHTTPServerWithUpload.py
Created Oct 30, 2017 — forked from UniIsland/SimpleHTTPServerWithUpload.py
Simple Python Http Server with Upload
View SimpleHTTPServerWithUpload.py
#!/usr/bin/env python
"""Simple HTTP Server With Upload.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
"""
View Sum_Odd_Sample.c
#include<stdio.h>
int main()
{
int sum;
int counter;
int rest;
sum = 0;
counter = 0;
View For_Sample.c
a = 0;
for(k=0, k <= 10, k++)
a = a + k;
View While_Sample.c
a = 0
while (a != 1)
{
print a
a = input_from_user()
}
View Conditional_Samples.c
if a > b:
a is bigger
else if:
b is bigger
View Math_Samples.c
d = a + b // sum two variables a and b and stores the result in d
d = a - c // subtract ‘c’ from ‘a’ and stores the result in d
d = a / c </b> // divide a by c and stores the result in d
d =a % c </b> // divide a by c and stores the result in d
View Function_Sample.c
int sum(int a, int b)
{
int c;
c = a + b;
return c;
}
sum(value1, value2);
You can’t perform that action at this time.