Skip to content

Instantly share code, notes, and snippets.

View securitygab's full-sized avatar
🎯
Creating new updates for securitygab/Home-Sec

Kuroi'SH securitygab

🎯
Creating new updates for securitygab/Home-Sec
View GitHub Profile
@securitygab
securitygab / gist:948e45fe466685846085b717259ed04d
Created April 2, 2023 06:15
Secure Snippet (PHP) against injections and protecting you're header
// Securing against Header Injection
// CC: SecurityGab/Dengisan.nl
foreach($_POST as $key => $value){
$_POST[$key] = _cleaninjections(trim($value));
}
╭━╮╱╭┳━━━┳━━━┳━━━╮╭╮╱╱╱╱╱╱╱╱╱╭╮╱╱╱╱╱╱╱╱╭╮╭╮
┃┃╰╮┃┃╭━╮┃╭━╮┃╭━╮┃┃┃╱╱╱╱╱╱╱╱╱┃┃╱╱╱╱╱╱╱╱┃┃┃┃
┃╭╮╰╯┃┃╱┃┃╰━━┫┃╱┃┃┃┃╱╭━━╮╭━━╮┃┃╭╮╭━━╮╭━╯┃┃┃
┃┃╰╮┃┃╰━╯┣━━╮┃╰━╯┃┃┃╱┃┃━┫┃╭╮┃┃╰╯╯┃┃━┫┃╭╮┃╰╯
┃┃╱┃┃┃╭━╮┃╰━╯┃╭━╮┃┃╰╮┃┃━┫┃╭╮┃┃╭╮╮┃┃━┫┃╰╯┃╭╮
╰╯╱╰━┻╯╱╰┻━━━┻╯╱╰╯╰━╯╰━━╯╰╯╰╯╰╯╰╯╰━━╯╰━━╯╰╯
$~> [email protected]:toj122163
$~> [email protected]:mark05
$~> [email protected]:pma65srj
using System;
using System.Text;
using sNasa.text;
using nasaspacesec;
using System.Security.Cryptography;
namespace PasswordSecurity
{
class InvalidHashException : Exception
{
@securitygab
securitygab / PE PACKER
Last active October 23, 2023 20:03
A simple x86 packer that uses APLib,
#########################################
# Created by @kuroi_dotsh - KuroiSH #
# Website: https://dengisan.nl/ #
# E-mail: [email protected] #
#########################################
;
; The executable is stored in the final section, so that it does not need
; relocations (as we can simply load it over our own headers and pad with
; virtualsize to keep our module running).
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase Go 5.2.1 (windows)
Comment: https://keybase.io/download
xsFNBF5WfzwBEADelo5BqtfbDpTi6+C63InfkLRX8rt/R7sfGYR1+2i3aX9vP8TG
J7eiavooactS7bxl7fbZsJNTtM8GTillpELoXG9BdeEaCqxICHifNe3DC5OJNNFU
AmBuIOrwE4kITUfe1Q961xNyNoRgG6p5B1Cczkn//58dAnsH10+X4rjmp5pMdW+I
RMFX5PdeVtEoKEylSWrsPJ5oMJOJfeXZNI47d7Ki+IwhGtg9GMgH8TBr/g+be3sw
hKfiGKUwCX+qlMuUosA23sFoj9P/Q8cXOcqatbJE9U5TzxHkHbJEI6SHyD/C0Fvm
fC5ntISs7w4dwHdb3BCLiXOdDy+IVT9/VGJyxpSrMcPTpaDsBlSwzjSGqudPm4xP
@securitygab
securitygab / FiveVM - Calvin - Made by KuroISH
Created March 10, 2020 12:17
Auto's in je FiveVM server - Voor Calvin (Dutch) - Meant for a mate
Ik wilde een eenvoudige tutorial maken die jij kan begrijpen...
Hoe je de verschillende soorten aangepaste voertuigen aan je server kan toevoegen.
Dit is vooral bedoeld voor mensen zoals jijq Calvin, die zich willen verdiepen in de ontwikkeling van FiveM,
maar er nog nooit mee hebben gewerkt.
Er zullen 2 delen aan deze tutorial worden toegevoegd Calvin. Zoals ik al zei,
dit is heel eenvoudig en iedereen kan het doen, dus snap je iets niet dan doe je ook iets niet goed simpel is dat!
Ik raad aan om mijn voorbeeld te gebruiken, zodat jij niet zelf alle bestanden hoeft te maken:
Hier een template link: - https://forum.cfx.re/uploads/default/original/3X/1/3/135a190a363651d5c5c3b6c92bbff7bb89b8ee86.rar
@securitygab
securitygab / keybase.md
Created February 26, 2020 13:53
KuroiSH public keybase share

Keybase proof

I hereby claim:

  • I am securitygab on github.
  • I am kuroish (https://keybase.io/kuroish) on keybase.
  • I have a public key ASDxzJauUwPd7rahh5KUL3YI5z4uxPCXXRXZwEBLLRNCowo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am securitygab on github.
  • I am cvvman (https://keybase.io/cvvman) on keybase.
  • I have a public key whose fingerprint is FF88 0DF5 A2C9 22CA 471A D15F D9D8 3CAD 559D B9F0

To claim this, I am signing this object:

@securitygab
securitygab / keybase.md
Last active November 21, 2019 01:25
keybase.md

Keybase proof

I hereby claim:

  • I am securitygab on github.
  • I am kuroish (https://keybase.io/kuroish) on keybase.
  • I have a public key ASBH2zXkyjoD3XHspHAfgT7bFZq2eoCEcA5-DHV2NV_Ccgo

To claim this, I am signing this object:

@securitygab
securitygab / Scoreboard refresh -> Seconds
Created August 7, 2019 10:48
How to scoreboard refresh - Tutorial for Tyler.
Hey Tyler, basically to explain u how to refresh a scoreboard is todo this:
To update every second, you need create a new Runnable. Or you can update the scoreboard per line.
Explain code:
Update every second:
new BukkitRunnable() {
@Override
public void run() {