Twitter won’t be the same after today as many useful bots ran by volunteers will dy as they cannot raise the required USD 42k per month to operate.
Nice 54th birthday present Elon!
–jeroen
Posted by jpluimers on 2023/04/29
Twitter won’t be the same after today as many useful bots ran by volunteers will dy as they cannot raise the required USD 42k per month to operate.
Nice 54th birthday present Elon!
–jeroen
Posted in Uncategorized | Leave a Comment »
Posted by jpluimers on 2023/04/28
[Archive] Kevin Beaumont on Twitter: “Folks, we named blue team and red team wrong. ” / Twitter
–jeroen
Posted in Fun, Power User, Security | Leave a Comment »
Posted by jpluimers on 2023/04/27
I want to check out how to do POST requests using bookmarklets in order to save URLs to the Wayback machine.
The reason is that every few months or so, saving a page the normal way through a something like https://web.archive.org/save/URL
fails for one reason or the other, but going to https://web.archive.org/save
, then entering URL, and pressing “SAVE PAGE
” button works fine:
job failed
and 404
errors over the last few days? … and … just returned a 404; most of my archivals the last few days failed or had to be retried at least half a dozen times to succeed. …” / TwitterThe the failing way above is using a GET
request, the succeeding workaround will open https://web.archive.org/save/URL
using the below POST
request (where I omitted some HTTP cookies and HTTP header fields for brevity).
PowerShell
:$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession $session.UserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36" Invoke-WebRequest -UseBasicParsing -Uri "https://web.archive.org/save/URL" ` -Method "POST" ` -WebSession $session ` -Headers @{ "method"="POST" "origin"="https://web.archive.org" "referer"="https://web.archive.org/save" } ` -ContentType "application/x-www-form-urlencoded" ` -Body "url=URL&capture_outlinks=on&capture_all=on&capture_screenshot=on"
bash
:curl 'https://web.archive.org/save/URL' \ -H 'origin: https://web.archive.org' \ -H 'content-type: application/x-www-form-urlencoded' \ -H 'referer: https://web.archive.org/save' \ --data-raw 'url=URL&capture_outlinks=on&capture_all=on&capture_screenshot=on' \ --compressed
fetch("https://web.archive.org/save/URL", { "headers": { "content-type": "application/x-www-form-urlencoded", }, "referrer": "https://web.archive.org/save", "body": "url=URL&capture_outlinks=on&capture_all=on&capture_screenshot=on", "method": "POST", "mode": "cors" });
BTW: Yes, I know that URL
is not a valid URL, so it will return a page with “http://url/ URL syntax is not valid.
“.
All links below via [Wayback/Archive] bookmarklet post request – Google Search:
I tried to put createFormSubmittingBookmarklets/createFormSubmitBookmarklets.js in a bookmarklet using both userjs.up.seesaa.net/js/bookmarklet.html and skalman.github.io/UglifyJS-online. That failed: somehow this code does not want to run as bookmarklet.
Running it from the console is fine though, and gave me this basic bookmarklet template:
javascript:function sf(ur,ty,fd){function me(tg,pr){var el=document.createElement(tg);for(const[nm,vl]of Object.entries(pr)){el.setAttribute(nm,vl);}return el}const fm=me("form",{action:ur,method:ty,style:"display:hidden;"});for(const[nm,vl]of Object.entries(fd)){fm.appendChild(me("input",{name:nm, value:vl}))}document.body.appendChild(fm);fm.submit()}sf("https://web.archive.org/save","post",{"url":"URL","capture_outlinks":"on","capture_all":"on","capture_screenshot":"on","wm-save-mywebarchive":"on","email_result":"on","":"SAVE PAGE"});
There bold URL
there is the URL to be saved. I need to test this, then rework it to become parameterised.
–jeroen
Posted in Software Development, Development, Power User, Web Development, Scripting, Web Browsers, JavaScript/ECMAScript, Bookmarklet | Leave a Comment »
Posted by jpluimers on 2023/04/26
Labeling cables is important, especially when you have a lot of them, and it is tough:
Hopefully heat-shrink tubing you can print on with either Dymo or Brother laber writers will outlast 3. At least they won’t loosen like 2. and 1.
So I was glad that [Archive] Jilles🏳️🌈 (@jilles_com) / Twitter started a thread, which I tried to help keeping coherent.
Some of the messages:
On a whim I ordered the DYMO LabelManager 160 label maker (well under $20) on the off chance that since the label reels are identical between the vinyl labels that it uses and this shrink wrap that maybe, just maybe it’ll work. Not to mention, save me at least $60.
As it turns out , IT DOES WORK !
From left to right: 6mm(1/4″), 9mm(3/8″), 12mm(1/2″), 18mm(3/4″), 24mm(1″), each length 1.5m (5′).
From left to right: 6mm(1/4″), 9mm(3/8″), 12mm(1/2″), 18mm(3/4″), 24mm(1″), each length 1.5m (5′).
–jeroen
Posted in Development, Hardware Development, Hardware Interfacing | Leave a Comment »
Posted by jpluimers on 2023/04/26
A less clickbaity title than most articles today as the below only applies to the VMware hypervisors running on MacOS and Windows.
The last Pwn2Own Zero Day Initiative revealed two major issues that allow a virtual machine to either execute code or read hypervisor memory on the VMware Workstation/Player/Fusion host:
VMware Workstation (17.x) and VMware Fusion (13.x) contain a stack-based buffer-overflow vulnerability that exists in the functionality for sharing host Bluetooth devices with the virtual machine.
VMware Workstation and Fusion contain an out-of-bounds read vulnerability that exists in the functionality for sharing host Bluetooth devices with the virtual machine.
Both issues have been fixed now, so be sure to deploy the fixes or, if you can’t, apply the workarounds.
Posted in Fusion, Power User, Security, Virtualization, VMware, VMware Player, VMware Workstation | Leave a Comment »