Hackviking He killed Chuck Norris, he ruled dancing so he took up a new hobby…

13Jun/161

WinSCP: SFTP – FTP over SSH

It was a while since I did a tool post and I realize that many people doesn't know about WinSCP or even SFTP, FTP over SSH. I use it all the time to quickly transfer files to Linux based boxes like Raspberry Pi or my Amazon Web Services VPS machines. As long as you have SSH access you can use WinSCP to transfer files. You can set it up to use sudo and make every part of the file system writable but I wouldn't recommend it, it's easy to make a mistake that destroys your system - especially if your working with remote systems. By default WinSCP, or other SFTP clients, end up in the logged in users home directory. If you then need the files anywhere else on the system you can use an SSH client, like Putty, to move the files to the correct location later.

winscp

18Apr/160

H2testw – Test SD-cards

SD-cards ware out over time. So every now and then you need to check them. One of my Kodi media players, running on a Raspberry Pi, just died on me and refused to start at all. Flashed a new SD-card and it booted right away. Since I use a centralized database for my media players the time to fix this was minimum. Then I put the faulty card away with my other cards and of course mixed them up....

So I had to test them to figure out which one was broken. The easy way to do this is with H2testw that writes data to the whole card and then verifies it. But there are an additional step, at least if your main use of SD-card is for singel board computers like me. You need to clear them and make sure there is only one partition. I have mentioned my favorite tool for this in the past, SDformater. That is the official tool from SD Association so it would be safe to say that it's the industry standard of doing this. Keep in mind that you need to use the "format size adjustment" option to clear all the partitions on the card. I've made a tool tip about SDformater before so please reference that for more information.

Then go ahead and download H2testw. It's very easy to use, it starts out in Dutch (the small sub sea country in Europe) but have a toggle for English. Then just select the "target" (your SD-card drive letter) and select "write + verify". The test takes a while depending on the speed and size of the card, it will fill the whole card with data and read it back again. This also gives you a good performance indicator for your SD-card.

17Sep/150

Win32 Disk Imager

Reading and writing images to SD cards made easy! I more or less us it every day to write images to SD cards for my Raspberry Pi projects or for doing a backup of them. Win32 Disk Imager has received some bad press because it some times breaks SD cards. Every time that happen to me it was the image that was bad, so I can not really agree with the bad comments. If the card becomes unreadable it's easily fixed with SD Formatter. Win32 Disk Imager can be downloaded from SourceForge!

16Sep/150

SD Formatter

SD cards some times seem to shrink or just get unreadable. Most of the time there is nothing wrong with them at all. They have just been written to in a bad way that messes up the partition table or breaks it all together. Most of the time you can fix it with disk management tools but it's more work then needed. I usually get problems with my SD cards from bad images for my Raspberry Pi but even my GoPro camera messed up a card ones. I also use a Denver action cam that usually formats the SD card with a smaller partition then the actual card size. SD Formatter from SD Association fixes the cards every time. Just run it against the card and turn on "format size adjustment" and it will come out just fine.

7Sep/150

TFTPD32/64 a must have in the toolbox

TFTPD32 (or the 64bit version) is a great tool when working with networking, built in systems or small computers like the Raspberry PI. I usually end up using it's DHCP function when I need to connect something directly to my laptop for testing. It's also a great tool for quickly setting up a TFTP server for flashing firmware in built in systems. TFTPD also includes a syslog server which comes in handy troubleshooting linux based network devices like switches, routers and other stuff. Of course it's a great tool during penetration testing with man in the middle attacks where you want to take over the DHCP function in the network. I have been using it for years and I really recommend it!

TFTPD is written by Philippe Jounin, I think he is from France. Don't let the poor website design scare you of the tools he put out is really great! So check out his website: http://www.jounin.net/tftpd32.html