Steganography with PHP – Hide files in images

Steganographie mit PHPIn this article we want to deal with the topic of steganography and implement a small example in PHP. Because PHP is not “only” used to create web pages or to implement forms, as any experienced PHP programmer of larger web agencies will surely confirm.
Besides functions for text processing, PHP also provides methods for image processing as well as for manipulation on bit and byte level. And these are the ones we want to use today. But before we start coding, we will have a short introduction to the topic of steganography.
Steganography is not shorthand
As the title already announced, today’s topic is steganography, the art of hiding information or knowledge in a carrier medium. Wikipedia defines steganography as follows:
Steganography (/ˌstɛɡəˈnɒɡrəfi/) is the practice of concealing a message within another message or a physical object. In computing/electronic […]

Basics: Secure password hashing with salts

Passwörter in Plaintext speichernAnyone who develops software and especially if he/she does so in the web environment, has certainly already written one or the other login system or at least had points of contact in this area. Besides the logic of a secure login or user management system, the secure storage of passwords is one of the most important points during implementation.
Even if the actual login code is 100 percent error-free and secure (which should never be assumed in practice), security vulnerabilities in the server software can still lead to intrusions or hacks. There is always a variable that is out of one’s control and thus websites are hacked, compromised and complete databases with usernames and passwords are read every day.
In order to protect users in the best possible way in the […]

Wildcards in Google Suggest nutzen

google-suggest-theme-pictureRegular users of my blog should already be familiar with “Google Suggest”. Those can skip ahead to the section “Wildcard operator in Google Suggest”, for all others here is the quick start. Google Suggest is the name of the Google functionality that is responsible for suggesting possible search queries while you are typing your search query. For example, if you type “What are the most popular”, Google will suggest “What are the most popular sports in Australia”. The suggestions, in turn, are based on the one hand on the user’s own Google search profile and on the other hand on the most frequent search queries currently sent to Google by other users.
For webmasters, SEOs (search engine optimizers) and Internet marketers, however, the Google Suggest feature has a completely different benefit than […]

How to: Clear DNS cache on all kind of systems

Every few weeks I stumble across the same issue again: “How could the DNS cache be cleared again?” I admit, clearing DNS cache is not a daily task, but when it comes to it, you usually forgot the commands. That’s why the following is a short tutorial on how to empty the DNS cache in various operating systems and browsers.
Before we get to the individual solutions, I’d like to quickly explain what the DNS cache is for in the first place and when you should flush it (that’s the English term).
What is the DNS cache and when should you clear it?
The Domain Name System (DNS) is an essential service within IP-based networks, such as the Internet. If a user makes a request to a server via a program and uses a domain such as “code-bude.net”, the program first makes a request to a name server, which then determines the corresponding […]

Restore unsaved documents in Word

How to recover word documentsI think almost everyone knows the scenario: You work on a Word document and either Word itself or the entire computer crashes. In order to prevent a total loss of the document, Word can activate the so-called “auto save” function, which saves the document automatically every X minutes. So in a crash only the changes since the last automatic save are lost.
But what if you had not saved the document yet? In this case, Word does not automatically restore the document. But here, too, is one last salvation. We want to look at both tips in the following.
Enable automatic saving in Word
First, the automatic save should be activated. If this is active, you can even recover documents that have not yet been saved. […]