Use TOR proxy with any linux command

There is an easy way to use the The Onion Router for any command under linux First install TOR and proxychains4 $ sudo apt install tor proxychains4 You can configure proxychains.conf but the default config is good :) $ sudo nano /etc/proxychains.conf Then start the tor service $ sudo systemctl start tor And check your ip: $ proxychains4 curl ifconfig.me You can use any command you want. So if you want your firefox browser over tor: ...

September 18, 2022 · 1 min · thomasf
image-6

Cowsay all animals and images

I write a simple loop to get all the ACSII images from cowsay :) Here you can download the TXT file: cowsay Download Happy cowsay!

April 24, 2022 · 1 min · thomasf

Powershell better tab autocomplete

With Powershell ISE you can use CTRL + SPACE for auto completion. But when you work in a native Powershell window you don’t have this option. And many often you cycle with tab completion trough the powershell and because you press the TAB button too soon you have to remove characters and cycle again trough all the commands. Unit now ;-) There is an easy fix you can implement so the Powershell have the same auto completion like bash. ...

April 5, 2022 · 1 min · thomasf
angif-boot-up-your-computer

Repair Debian boot after Windows update

Today I update my dual boot system and unfortunately my Debian OS wasn’t booting anymore. The root cause was that Windows decide to reclaim the EFI boot. The fix is quite easy. Type mountvol P: /S Check the EFI boot partition data And fix your boot the this command: bcdedit.exe /set {bootmgr} path \EFI\Debian\grubx64.efi As you can see in the screenshot, this also work for EndeavourOS and Ubuntu and probably for a lot other Linux EFI boot systems. ...

March 6, 2022 · 1 min · thomasf
signal-2022-02-11-091338_001

Corrupt SD Card Recovery

A friend of mine came back from vacation where he had taken a lot of pictures. When he got back home a large part of his Micro SD card (exFAT partition) was no longer accessible so he missed a couple of weeks of his photos and videos. His Windows Operating System froze completely when it hit a rotten cluster during a file copy action. So we had to find another solution to get his files back. ...

February 11, 2022 · 2 min · thomasf
pexels-marta-branco-1194713

OWASP ZAP Proxy with Android on Genymotion

It can be fun to reverse engineer some android applications. I think it’s better to do this on your workstation instead of your phone because it’s way more flexible and you don’t ruin your phone when you break things ;) In my case, I use Debian 11. But of course, you can do this with any OS. An app you want to debug OWASP ZAP Proxy Genymotion NPM APK Export (Android App) I use the snap package for ZAP because it’s easy to install and you’ve always the latest version. ...

October 26, 2021 · 3 min · thomasf

Ubuntu cannot connect to Cisco Router

Please follow these steps if you cannot can connect to a router. For example ssh someusername@blog.wapnet.nl Output Unable to negotiate with blog.wapnet.nl port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 use the -o parameter ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 someusername@blog.wapnet.nl Output: Unable to negotiate with blog.wapnet.nl port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc and add the -c parameter ssh -o KexAlgorithms=+diffie-hellman-group1-sha1 -c aes256-cbc someusername@blog.wapnet.nl and you are connected :) ...

July 23, 2021 · 1 min · thomasf
Screenshot_20210527_235205

Fix Screen Tearing in Linux

It cost me a lot of time to troubleshoot the screen tearing. So I want to share my solution for everyone with the same frustrating tearing issues. My private setup is a Lenovo Ideapad (gaming) with Nvidia and Intel (Prime) GPU. I use the laptop screen and an external 24" HDMI display. In Windows 10 everything goes smooth but when I switch my dual boot to Linux than the frustrations begin. ...

May 27, 2021 · 3 min · thomasf

Install Synology Drive Client on Solus Linux

The current 3rth party repo is deprecated so I’ve created my own fork for version: 2.0.4-11112 sudo eopkg bi --ignore-safety https://raw.githubusercontent.com/L0g0ff/3rd-party/master/network/download/synology-drive-client/pspec.xml sudo eopkg it synology-drive-client*.eopkg;sudo rm synology-drive-client*.eopkg Have fun!

May 3, 2021 · 1 min · thomasf

504 Gateway Timeout on Synology NAS

Looks familiar? I want to move this blog to my own NAS because I have plenty enough bandwidth and with Cloudflare as reverse proxy it is secure enough also (and I like to hobby off course ;) ). I tried to use the Duplicator WordPress plugin to make a dump of my website and do a restore in the Synology Webstation. But during the database restore in step 2 every time I was getting a 504 gateway timeout after a minute (exactly 60 seconds). ...

February 10, 2021 · 2 min · thomasf