I talked about it in a previous post, but now it’s done: the WP Login Door plugin is hosted in the official WordPress repository!
For information, this plugin prevents your login page from loading unless you provide an URL parameter (for example: http://mysupersite.com/wp-login.php?foo=bar). These two terms are known by you and only you, and they are mandatory to load the login page.
With this, login page brute forcers won’t be able to do anything anymore.
The first self-asked question when we receive an ESP8266 is generally…
“Damn, how the hell will I program this?”
We need 4 wires: +, -, Rx and Tx,so the first thing to get is a USB-serial converter. The most important point is that the voltage must be 3.3v both on Vcc AND Tx. The risk if you use 5V is simply to burn the ESP.
The ESP8266 01 has 0.1 inch spaced pins, but is unusable on a breadboard because of their positioning. So you can connect it to the adapter either with Dupont connectors, or you can make a custom PCB.
I began with simple wires, but I rapidly came to making my own PCB 🙂
On the left I can put a jumper to boot the ESP8266 in programming mode.
The thing with the ESP8266, is that there are maaaany versions with different pinouts. I also have a 12e, and for this one the gap between pins is 2mm. I had to order some male headers to make a correct adapter.
A jumper is needed permanently between GPIO15 and GND. The jumper on the bottom is to boot the ESP8266 in programming mode (GPIO0 to the ground)
I wanted to write a small article to salute Arduino IDE evolutions.
Compared to the beginnings, we’ve seen at least two major enhancements: the board manager and the library manager.
The board manager
Today, Arduino IDE can be used with many microcontrollers, and not necessarily Atmel’s. Amongst many others, the Teensy and ESP8266.
Of course the upload protocol is different according to the chip used, and the IDE must know how to communicate.
To select the right board, we have the menu Tools>Board. But what if your board is not in the list?
Well, it’s not that complicated.
First of all, you might need to add the package URL in IDE preferences:
Then go back to Tools>Boards>Borad manager, and now you should see a list of available boards. Just install yours and done!
Ok the Teensy is a bit different, as you have to download and install Teensyduino, an add-in available on the manufacturer’s website.
The library manager
This one is even better!
You just bought a new sensor or component, and don’t want to read the %&!! datasheet to try to understand the communication protocol and implement a buggy program? I really understand…
Let’s take the DHT22 sensor for example. It’s a humidity/temperature sensor.
No headache: just go to Sketch>Include library>Library manager. A list appears, and you can filter it by typing “DHT22” in the field, and… DHT sensor library by Adafruit.
Just click the install button and not only the library becomes available to your programs, but you can also find an example of usage in the File>Examples menu!
I particularily appreciated this feature for a sensor I bought some time ago, a bit difficult to discuss with: the MLX90614. It’s a directional IR thermometer, that can measure the temperature of an object without contact. It uses a modified i2c protocol, and even with the datasheet, if you’re not really at ease with it, you can have hours of anti-fun…
So I had the pleasure to see thet this sensor is available in the library manager, and I can now use it very easily.