Skip to content

Instantly share code, notes, and snippets.

View pentest30's full-sized avatar

Baouche Iqbal pentest30

View GitHub Profile
@pentest30
pentest30 / DerParser.cs
Created February 28, 2024 14:43
ASN1 DER Parser for TAP3.12
using System.Text;
using ServiceCdr.Application.Models.Tap312;
namespace ServiceCdr.Application.Parsers;
public class DerParser
{
//https://github.com/mitshell/libmich/blob/master/libmich/asn1/asn/TAP3_12/TAP3_12.asn
static readonly HashSet<int> ConstructedTags = new()
{
@pentest30
pentest30 / content_discovery_all.txt
Created July 21, 2020 14:41 — forked from jhaddix/content_discovery_all.txt
a masterlist of content discovery URLs and files (used most commonly with gobuster)
This file has been truncated, but you can view the full file.
`
~/
~
ים
___
__
_
@pentest30
pentest30 / bcrypt-example
Created June 18, 2020 17:04 — forked from roycewilliams/bcrypt-example
bcrypt-example
$ cat ~/bcrypt.hash
$2a$05$LhayLxezLhK1LhWvKxCyLOj0j1u.Kj0jZ0pEmm134uzrQlFvQJLF6
$ cat ~/bcrypt.dict
hashcat
$ ./hashcat64.bin -a 0 -m 3200 ~/bcrypt.hash ~/bcrypt.dict
hashcat (v3.10-143-g7f59a82) starting...
OpenCL Platform #1: NVIDIA Corporation
@pentest30
pentest30 / instructions.md
Created June 16, 2020 01:32 — forked from FrankSpierings/instructions.md
Command line scripts for CTF's

Command line scripts for CTF's

Linux

Improve shell

  • Improve the prompt:
bash -i
@pentest30
pentest30 / sqlmap-tamper-scripts-evaluation.md
Created September 16, 2018 12:51 — forked from mgeeky/sqlmap-tamper-scripts-evaluation.md
SQLMap Tamper scripts evaluation against F5 Big-IP ASM WAF

SQLMap Tamper scripts evaluation against F5 Big-IP ASM WAF

The below table represents results of tests launched against F5 Big-IP ASM WAF appliance in it's XX version of YY and ZZ version of XY

Below names are to be passed to the --tamper= parameter of sqlmap.

The column Violation Rating represents most dominant rating of topmost 20 Requests observed by F5 in it's Security>>Event Logs:Application:Requests view.

The scale is 0-5.

@pentest30
pentest30 / longPolling.js
Created April 6, 2018 13:01 — forked from jasdeepkhalsa/longPolling.js
Simple Long Polling Example with JavaScript and jQuery by Tian Davis (@tiandavis) from Techoctave.com (http://techoctave.com/c7/posts/60-simple-long-polling-example-with-javascript-and-jquery)
// Long Polling (Recommened Technique - Creates An Open Connection To Server ∴ Fast)
(function poll(){
$.ajax({ url: "server", success: function(data){
//Update your dashboard gauge
salesGauge.setValue(data.value);
}, dataType: "json", complete: poll, timeout: 30000 });
})();
public static void Loader( string path)
// {
// if (String.IsNullOrWhiteSpace(path))
// {
// return;
// }
// // Gets all compiled assemblies.
// // This is particularly useful when extending applications functionality from 3rd parties,
rivate void DupliquButton_OnClick(object sender, RoutedEventArgs e)
{
var ofd = new Microsoft.Win32.OpenFileDialog();
var result = ofd.ShowDialog();
if (result == false) return;
string cheminExcel = ofd.FileName;
if (!cheminExcel.Split('\\').Last().Contains(".xlsx"))
{
MessageBox.Show("Le fichier que vous avez selectioné ce n'est un fichier Excel");
return;
public class WhereBuilder
{
private readonly IProvider _provider;
private TableDefinition _tableDef;
public WhereBuilder(IProvider provider)
{
_provider = provider;
}
@pentest30
pentest30 / 1.Widget.cs
Created June 7, 2017 22:38 — forked from Lobstrosity/1.Widget.cs
Mapping Parent-Child Relationships with Dapper
public class Widget
{
public int Id { get; set; }
public string Name { get; set; }
public string Description { get; set; }
}