language stringlengths 0 24 | filename stringlengths 9 214 | code stringlengths 99 9.93M |
|---|---|---|
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Buttons/RotaryEncoder.cpp | #include "RotaryEncoder.h"
namespace simplebutton {
RotaryEncoder::RotaryEncoder() {
setButtons(NULL, NULL, NULL);
}
RotaryEncoder::RotaryEncoder(uint8_t channelA, uint8_t channelB, uint8_t button) {
setup(channelA, channelB, button);
}
RotaryEncoder::RotaryEncoder(GPIOExpander* p... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Buttons/RotaryEncoder.h | #ifndef SimpleButton_RotaryEncoder_h
#define SimpleButton_RotaryEncoder_h
#include "Button.h"
#include "ButtonPullup.h"
#include "ButtonGPIOExpander.h"
#include "ButtonPullupGPIOExpander.h"
namespace simplebutton {
class RotaryEncoder {
public:
Button* button = NULL;
Button*... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Buttons/RotaryEncoderI2C.cpp | #include "RotaryEncoderI2C.h"
namespace simplebutton {
RotaryEncoderI2C::RotaryEncoderI2C() {
setup(0x30);
}
RotaryEncoderI2C::RotaryEncoderI2C(uint8_t i2cAddress) {
setup(i2cAddress);
}
RotaryEncoderI2C::RotaryEncoderI2C(uint8_t i2cAddress, TwoWire* wire) {
setup(i2cAddres... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Buttons/RotaryEncoderI2C.h | #ifndef SimpleButton_RotaryEncoderI2C_h
#define SimpleButton_RotaryEncoderI2C_h
#include "Arduino.h"
#include <Wire.h>
#define ROTARY_ENCODER_I2C_ERROR 5
#include "Button.h"
namespace simplebutton {
class RotaryEncoderI2C {
public:
Button* clockwise = NULL;
Button* anticlockw... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Buttons/Switch.cpp | #include "Switch.h"
namespace simplebutton {
Switch::Switch() {
button = new Button();
}
Switch::Switch(uint8_t pin) {
setup(pin);
}
Switch::Switch(GPIOExpander* pcf, uint8_t pin) {
setup(pcf, pin);
}
Switch::Switch(Button* button) {
setup(button);
}
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Buttons/Switch.h | #ifndef SimpleButton_Switch_h
#define SimpleButton_Switch_h
#include "Button.h"
#include "ButtonGPIOExpander.h"
namespace simplebutton {
class Switch {
public:
Button* button = NULL;
Switch();
Switch(uint8_t pin);
Switch(GPIOExpander* pcf, uint8_t pin);
... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/ClickEvent.cpp | #include "ClickEvent.h"
namespace simplebutton {
ClickEvent::ClickEvent(ButtonEventFunction, uint32_t minPushTime, uint32_t minReleaseTime) {
this->fnct = fnct;
this->minPushTime = minPushTime;
this->minReleaseTime = minReleaseTime;
}
ClickEvent::~ClickEvent() {
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/ClickEvent.h | #ifndef SimpleButton_ClickEvent_h
#define SimpleButton_ClickEvent_h
#include "Event.h"
namespace simplebutton {
class ClickEvent : public Event {
public:
ClickEvent(ButtonEventFunction, uint32_t minPushTime, uint32_t minReleaseTime);
~ClickEvent();
uint8_t getMode();
... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/DoubleclickEvent.cpp | #include "DoubleclickEvent.h"
namespace simplebutton {
DoubleclickEvent::DoubleclickEvent(ButtonEventFunction, uint32_t minPushTime, uint32_t minReleaseTime,
uint32_t timeSpan) {
this->fnct = fnct;
this->minPushTime = minPushTime;
this->mi... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/DoubleclickEvent.h | #ifndef SimpleButton_DoubleclickEvent_h
#define SimpleButton_DoubleclickEvent_h
#include "Event.h"
namespace simplebutton {
class DoubleclickEvent : public Event {
public:
DoubleclickEvent(ButtonEventFunction, uint32_t minPushTime, uint32_t minReleaseTime, uint32_t timeSpan);
~Doub... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/Event.cpp | #include "Event.h"
namespace simplebutton {
Event::~Event() {
if (next) {
delete next;
next = NULL;
}
}
void Event::run() {
if (fnct) fnct();
}
uint8_t Event::getMode() {
return MODE::NONE;
}
uint32_t Event::getMinPushTime() {
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/Event.h | #ifndef SimpleButton_Event_h
#define SimpleButton_Event_h
#include "Arduino.h"
#include <functional>
#define ButtonEventFunction std::function<void()>fnct
namespace simplebutton {
class Event {
public:
Event* next = NULL;
enum MODE { NONE = 0, PUSHED = 1, RELEASED = 2, CLICKED = 3... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/HoldEvent.cpp | #include "HoldEvent.h"
namespace simplebutton {
HoldEvent::HoldEvent(ButtonEventFunction, uint32_t interval) {
this->fnct = fnct;
this->interval = interval;
}
HoldEvent::~HoldEvent() {
if (next) {
delete next;
next = NULL;
}
}
uint8_t Ho... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/HoldEvent.h | #ifndef SimpleButton_HoldEvent_h
#define SimpleButton_HoldEvent_h
#include "Event.h"
namespace simplebutton {
class HoldEvent : public Event {
public:
HoldEvent(ButtonEventFunction, uint32_t interval);
~HoldEvent();
uint8_t getMode();
uint32_t getInterval();... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/PushEvent.cpp | #include "PushEvent.h"
namespace simplebutton {
PushEvent::PushEvent(ButtonEventFunction) {
this->fnct = fnct;
}
PushEvent::~PushEvent() {
if (next) {
delete next;
next = NULL;
}
}
uint8_t PushEvent::getMode() {
return MODE::PUSHED;
}
} |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/PushEvent.h | #ifndef SimpleButton_PushEvent_h
#define SimpleButton_PushEvent_h
#include "Event.h"
namespace simplebutton {
class PushEvent : public Event {
public:
PushEvent(ButtonEventFunction);
~PushEvent();
uint8_t getMode();
};
}
#endif // ifndef SimpleButton_PushEvent_h |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/ReleaseEvent.cpp | #include "ReleaseEvent.h"
namespace simplebutton {
ReleaseEvent::ReleaseEvent(ButtonEventFunction) {
this->fnct = fnct;
}
ReleaseEvent::~ReleaseEvent() {
if (next) {
delete next;
next = NULL;
}
}
uint8_t ReleaseEvent::getMode() {
return MODE... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/Events/ReleaseEvent.h | #ifndef SimpleButton_ReleaseEvent_h
#define SimpleButton_ReleaseEvent_h
#include "Event.h"
namespace simplebutton {
class ReleaseEvent : public Event {
public:
ReleaseEvent(ButtonEventFunction);
~ReleaseEvent();
uint8_t getMode();
};
}
#endif // ifndef SimpleButto... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/GPIOExpander.cpp | #include "GPIOExpander.h"
namespace simplebutton {
void GPIOExpander::setup(uint8_t address) {
this->wire = &Wire;
this->address = address;
write(0);
}
void GPIOExpander::setup(uint8_t address, TwoWire* wire) {
this->wire = wire;
this->address = address;
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/GPIOExpander.h | #ifndef SimpleButton_GPIOExpander_h
#define SimpleButton_GPIOExpander_h
#include "Arduino.h"
#include <Wire.h>
#define PCF_PIN_ERROR 5
#define PCF_I2C_ERROR 6
namespace simplebutton {
class GPIOExpander {
public:
virtual ~GPIOExpander() = default;
virtual void setup(uint8_t addre... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/MCP23017.cpp | #include "MCP23017.h"
namespace simplebutton {
MCP23017::MCP23017(uint8_t address) {
setup(address);
}
MCP23017::MCP23017(uint8_t address, TwoWire* wire) {
setup(address, wire);
}
MCP23017::~MCP23017() {}
void MCP23017::setup(uint8_t address) {
setup(address, &Wire);
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/MCP23017.h | #ifndef SimpleButton_MCP23017_h
#define SimpleButton_MCP23017_h
#include "GPIOExpander.h"
namespace simplebutton {
class MCP23017 : public GPIOExpander {
public:
MCP23017(uint8_t address);
MCP23017(uint8_t address, TwoWire* wire);
~MCP23017();
void setup(u... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/PCF8574.cpp | #include "PCF8574.h"
namespace simplebutton {
PCF8574::PCF8574(uint8_t address) {
setup(address);
}
PCF8574::PCF8574(uint8_t address, TwoWire* wire) {
setup(address, wire);
}
PCF8574::~PCF8574() {}
int PCF8574::read() {
wire->requestFrom(address, (uint8_t)1);
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/PCF8574.h | #ifndef SimpleButton_PCF8574_h
#define SimpleButton_PCF8574_h
#include "GPIOExpander.h"
namespace simplebutton {
class PCF8574 : public GPIOExpander {
public:
PCF8574(uint8_t address);
PCF8574(uint8_t address, TwoWire* wire);
~PCF8574();
int read();
... |
C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/PCF8575.cpp | #include "PCF8575.h"
namespace simplebutton {
PCF8575::PCF8575(uint8_t address) {
setup(address);
}
PCF8575::PCF8575(uint8_t address, TwoWire* wire) {
setup(address, wire);
}
PCF8575::~PCF8575() {}
int PCF8575::read() {
wire->requestFrom(address, (uint8_t)2);
... |
C/C++ | esp8266_deauther-2/esp8266_deauther/src/SimpleButton/libs/PCF8575.h | #ifndef SimpleButton_PCF8575_h
#define SimpleButton_PCF8575_h
#include "GPIOExpander.h"
namespace simplebutton {
class PCF8575 : public GPIOExpander {
public:
PCF8575(uint8_t address);
PCF8575(uint8_t address, TwoWire* wire);
~PCF8575();
int read();
... |
Markdown | esp8266_deauther-2/Reset_Sketch/README.md | # RESET
## Method 1
Open the Reset_Sketch.ino and upload with the correct settings.
## Method 2
Flash one of the `reset_` files.
## Method 3
Flash the `blank_1MB.bin` to 0x000000 for 1MB modules.
Flash it to 0x000000, 0x100000, 0x200000 and 0x300000 for 4MB modules. |
esp8266_deauther-2/Reset_Sketch/Reset_Sketch.ino | #include <EEPROM.h>
#include <LittleFS.h>
/*
Upload this sketch to your ESP8266 to erase
- all files in the SPIFFS,
- all data in the EEPROM
- WiFi credentials (SSID, password)
Also overwrites the previous program with this one (obviously).
*/
void setup() {
Serial.begin(115200);
Serial.println();
... | |
Python | esp8266_deauther-2/utils/arduino-cli-compile.py | #!/usr/bin/env python3
# inside esp8266_deauther/esp8266_deauther
# call this script
# python3 ../utils/arduino-cli-compile.py 2.5.0
import subprocess
import os
import sys
boards = [
"NODEMCU",
"WEMOS_D1_MINI",
"HACKHELD_VEGA",
"MALTRONICS",
"DISPLAY_EXAMPLE_I2C",
"DISPLAY_EXAMPLE_SPI",
"... |
HTML | esp8266_deauther-2/utils/old_web_converter/converter.html | <!Doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Byte Converter</title>
<meta name="description" content="OConvert Text into Hex-Bytes">
<meta name="author" content="Spacehuhn - Stefan Kremser">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="st... |
Shell Script | esp8266_deauther-2/utils/old_web_converter/convert_all.sh | #!/bin/bash
#
# This script walks through the html folder and minify all JS, HTML and CSS files. It also generates
# the corresponding constants that is added to the data.h file on esp8266_deauther folder.
#
# @Author Erick B. Tedeschi < erickbt86 [at] gmail [dot] com >
#
outputfile="$(pwd)/data_h_temp"
rm $outputfi... |
JavaScript | esp8266_deauther-2/utils/old_web_converter/jquery-3.2.1.min.js | /*! jQuery v3.2.1 | (c) JS Foundation and other contributors | jquery.org/license */
!function(a,b){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined... |
Markdown | esp8266_deauther-2/utils/old_web_converter/readme.md | # How to update files inside html folder?
The files related to the Frontend of ESP8266_Deauther are inside html folder.
To reflect on the firmware it needs to be: minified, converted to hex and updated on data.h on esp8266_deauther folder on the root of this project.
The following process can be used:
## Script Mode (... |
esp8266_deauther-2/utils/old_web_converter/style.css | /* Global */
body {
background: #36393e;
color: #bfbfbf;
font-family: sans-serif;
margin: 0;
}
h1 {
font-size: 1.7rem;
margin-top: 1rem;
background: #2f3136;
color: #bfbfbb;
padding: 0.2em 1em;
border-radius: 3px;
border-left: solid #4974a9 5px;
font-weight: 100;
}
h2 {
font-size: 1.... | |
Markdown | esp8266_deauther-2/utils/vendor_list_updater/README.md | `python3 update_manuf.py -o oui.h -s`
This Python script updates the manufacturer list oui.h in deauther2.0/esp8266_deauther.
The -s option is for creating a limited list of the top 1000 vendors. That is enough for most devices and it makes the list fit in 512kb. |
Python | esp8266_deauther-2/utils/vendor_list_updater/update_manuf.py | #/usr/bin/env python3
# This scripts downloads the last OUI manufaturer file from the Whireshark
# project and converts it to esp8266_deauther format
#
# Copyright (c) 2018 xdavidhu
# https://github.com/xdavidhu/
#
import argparse
from urllib.request import urlopen
WS_MANUF_FILE_URL = "https://code.wireshark.org/revi... |
Markdown | esp8266_deauther-2/utils/web_converter/readme.md | Use this converter to minify and gzip everything in the `web_interface` folder and put it in `esp8266_deauther/data/web/`.
This script will also generate a new `webfiles.h` file and replace the old in `esp8266_deauther`.
Copyright goes to [@xdavidhu](http://github.com/xdavidhu/).
**A few notes:**
- you need pyt... |
Python | esp8266_deauther-2/utils/web_converter/webConverter.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Created by: xdavidhu
import os
import gzip
import argparse
import binascii
from pathlib import Path, PurePath
try:
from css_html_js_minify.minify import process_single_html_file, process_single_js_file, process_single_css_file
except ModuleNotFoundError:
print("... |
Python | esp8266_deauther-2/utils/web_converter/css_html_js_minify/html_minifier.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Created by: juancarlospaco
# GitHub Repo: https://github.com/juancarlospaco/css-html-js-minify
"""HTML Minifier functions for CSS-HTML-JS-Minify."""
import re
import logging as log
__all__ = ['html_minify']
def condense_html_whitespace(html):
"""Condense HTML... |
Python | esp8266_deauther-2/utils/web_converter/css_html_js_minify/variables.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Created by: juancarlospaco
# GitHub Repo: https://github.com/juancarlospaco/css-html-js-minify
"""Variables for CSS processing for CSS-HTML-JS-Minify."""
# 'Color Name String': (R, G, B)
EXTENDED_NAMED_COLORS = {
'azure': (240, 255, 255),
'beige': (245, 245, 2... |
Python | esp8266_deauther-2/utils/web_converter/css_html_js_minify/__init__.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Created by: juancarlospaco
# GitHub Repo: https://github.com/juancarlospaco/css-html-js-minify
"""CSS-HTML-JS-Minify.
Minifier for the Web.
"""
from .minify import (process_single_html_file, process_single_js_file,
process_single_css_file, html_... |
HTML | esp8266_deauther-2/web_interface/attack.html | <!--- This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther -->
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimal-ui">
<meta name="theme-color" content="#36393E">
<meta name="description"... |
HTML | esp8266_deauther-2/web_interface/index.html | <!--- This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther -->
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimal-ui">
<meta name="theme-color" content="#36393E">
<meta name="description"... |
HTML | esp8266_deauther-2/web_interface/info.html | <!--- This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther -->
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimal-ui">
<meta name="theme-color" content="#36393E">
<meta name="description"... |
JSON | esp8266_deauther-2/web_interface/names.json | [
[
"b8:1d:aa:d5:6f:f0",
"don't!",
"[[[[not mine]]]]",
"",
1,
true
]
,[
"f4:6b:de:da:8d:95",
"Spacehuhn",
"--SpaceRouter!--",
"",
1,
false
]
,[
"00:11:22:33:44:55",
"TEST",
"JS sucks!",
"5c:37:3b:f7:67:be",
1,
true
]
] |
HTML | esp8266_deauther-2/web_interface/scan.html | <!--- This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther -->
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimal-ui">
<meta name="theme-color" content="#36393E">
<meta name="description"... |
JSON | esp8266_deauther-2/web_interface/scan.json | {
"aps":[
[
"Don't",
"--SpaceRouter!--",
6,
-57,
"WPA2",
"f4:6b:de:da:8d:95",
"Spacehuhn",
false
],
[
"call",
"",
1,
-80,
"-",
"cc:cf:1e:d5:5b:2b",
"SpaceLtd",
... |
HTML | esp8266_deauther-2/web_interface/settings.html | <!--- This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther -->
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimal-ui">
<meta name="theme-color" content="#36393E">
<meta name="description"... |
JSON | esp8266_deauther-2/web_interface/settings.json | {
"version": "over9000",
"ssid": "pwned",
"password": "deauther",
"channel": 1,
"hidden": false,
"captivePortal": true,
"lang": "en",
"autosave": true,
"autosavetime": 30000,
"display": false,
"displayTimeout": 600,
"serial": true,
"serialEcho": true,
"web": true,... |
HTML | esp8266_deauther-2/web_interface/ssids.html | <!--- This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther -->
<!Doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=0.8, minimal-ui">
<meta name="theme-color" content="#36393E">
<meta name="description"... |
JSON | esp8266_deauther-2/web_interface/ssids.json | {
"random": false,
"ssids":[
[
"Cthulhu fm'latgh stell'bsna",
false,
27
],
[
"Nyarlathotep, vulgtm",
false,
20
],
[
"Sgn'wahl phlegeth",
false,
17
],
[
"Nyarlathotep nnnee, ehye",
true,
24
],
[
"Phlegeth ph'Yoggoth",
true,
19
],
[
"... |
esp8266_deauther-2/web_interface/style.css | /* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
/* Global */
body {
background: #36393e;
color: #bfbfbf;
font-family: sans-serif;
margin: 0;
}
h1 {
font-size: 1.7rem;
margin-top: 1rem;
background: #2f3136;
color: #bfbfbb;
padding: 0.2em 1em... | |
JavaScript | esp8266_deauther-2/web_interface/js/attack.js | /* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
var attackJSON = [[false, 0, 0], [false, 0, 0], [false, 0, 0]];
function draw() {
getE("deauth").innerHTML = attackJSON[0][0] ? lang("stop") : lang("start");
getE("beacon").innerHTML = attackJSON[1][0] ? lang("s... |
JavaScript | esp8266_deauther-2/web_interface/js/scan.js | /* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
var nameJson = [];
var scanJson = { aps: [], stations: [] };
function drawScan() {
var html;
var selected;
var width;
var color;
var macVendor;
// Access Points
getE("apNum").innerHTML = scanJson.aps.lengt... |
JavaScript | esp8266_deauther-2/web_interface/js/settings.js | /* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
var settingsJson = {};
function load() {
getFile("settings.json", function (res) {
settingsJson = JSON.parse(res);
showMessage("connected");
draw();
});
}
function draw() {
var html = "";
for (var key i... |
JavaScript | esp8266_deauther-2/web_interface/js/site.js | /* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
var langJson = {};
function getE(name) {
return document.getElementById(name);
}
function esc(str) {
if (str) {
return str.toString()
.replace(/&/g, '&')
.replace(/</g, '<')
.replace(/>/g, '&g... |
JavaScript | esp8266_deauther-2/web_interface/js/ssids.js | /* This software is licensed under the MIT License: https://github.com/spacehuhntech/esp8266_deauther */
var ssidJson = { "random": false, "ssids": [] };
function load() {
getFile("run?cmd=save ssids", function () {
getFile("ssids.json", function (res) {
ssidJson = JSON.parse(res);
showMessage("connected");
... |
esp8266_deauther-2/web_interface/lang/cn.lang | {
"lang": "cn",
"warning": "注意!",
"disclaimer": "该项目仅用于个人学习和研究使用\nESP8266及其SDK都不是为此目的而设计或构建的。可能会有 Bug 出现!\n请仅在自己的网络和设备上使用!\n本项目使用IEEE 802.11标准中描述的有效Wi-Fi帧,不会阻止或破坏任何频带。\n使用前请检查您的国家的法律法规。\n\n请不要将这个项目称为“干扰器”,这完全破坏了这个项目的真正目的!\n如果你这样做,它只能证明你不了解这个项目意味着什么。\n请勿用于商业用途,或为了自身利益发布该项目的消息,这只能说明你不尊重知识产权,以及背后的社区和为了更好的WiFi标... | |
esp8266_deauther-2/web_interface/lang/cs.lang | {
"lang": "cs",
"warning": "VAROVÁNÍ",
"disclaimer": "Tento projekt slouží pouze pro testovací a edukační využití.\nESP8266, nebo jeho SDK není určeno pro toto použití, proto se mohou vyskytnout chyby!\n\nPoužijte tento projekt jen proti vlastním zařízením a sítím!\n\nPoužíváme validní Wi-Fi rámce popsané v... | |
esp8266_deauther-2/web_interface/lang/da.lang | {
"lang": "da",
"warning": "ADVARSEL",
"disclaimer": "Dette projekt er et bevis for koncept og er til testning og uddandelses brug.\nHverken ESP82266, eller dens SDK er ment eller bygget for dette formål. Fejl kan opstå!\n\nBrug det kun mod egne trådløse netværk og enheder!\n\nDen anvender godkendte WiFi pa... | |
esp8266_deauther-2/web_interface/lang/de.lang | {
"lang": "de",
"warning": "WARNUNG",
"disclaimer": "Dieses Proof-of-Concept-Projekt ist zum Lernen und Testen.\nWeder der ESP8266, noch das SDK sind für solche Zwecke gemacht. Fehler können auftreten!\n\nBenutze es nur gegen eigene Netzwerke und Geräte!\n\nEs werden valide Wi-Fi-Frames nach IEEE 802.11 ver... | |
esp8266_deauther-2/web_interface/lang/en.lang | {
"lang": "en",
"warning": "WARNING",
"disclaimer": "This project is a proof of concept for testing and educational purposes.\nNeither the ESP8266, nor its SDK was meant or build for such purposes. Bugs can occur!\n\nUse it only against your own networks and devices!\n\nIt uses valid Wi-Fi frames described ... | |
esp8266_deauther-2/web_interface/lang/es.lang | {
"lang": "es",
"warning": "ADVERTENCIA",
"disclaimer": "Este proyecto es una prueba de concepto con un motivo didáctico y experimental. \nNi el modulo ESP8266, ni su relativo SDK fueron creados o proyectados para estos propósitos.\n\n¡Úsalo solo contra tus propias redes y dispostivos! \n\nEl software utiliza excl... | |
esp8266_deauther-2/web_interface/lang/fi.lang | {
"lang": "fi",
"warning": "VAROITUS",
"disclaimer": "Tämä laite on tarkoitettu verkon turvallisuustestien tekemiseen, eikä verkon murtautumiseen! ",
"disclaimer-button": "Olen lukenut ja käytän laitetta oikein",
"reload": "Lataa Uudelleen",
"scan": "Skannaa",
"ssids": "SSID:t",
"attacks": "Hyökkäykset"... | |
esp8266_deauther-2/web_interface/lang/fr.lang | {
"lang": "fr",
"warning": "ATTENTION",
"disclaimer": "Ce projet est seulement à but éducatif et à été conçu pour un but de démonstration seulement.\nNi l'ESP8266 ni le SDK ne sont initialement prévus pour cette utilisation. Gare aux bugs !\n\nÀ n'utiliser qu'avec votre réseau privé et sur vos propres appareils !... | |
esp8266_deauther-2/web_interface/lang/hu.lang | {
"lang": "hu",
"warning": "FIGYELMEZTETÉS",
"disclaimer": "Ez a projekt egy koncepció bizonyítása tesztelés, és tanulmányozás érdekében.\nSem az ESP8266-ot, sem annak SDK-ját nem szánták, vagy építették ilyen célokra. Hibák előfordulhatnak!\n\nCsak a saját hálózata, és eszközei ellen használja!\n\nA projek... | |
esp8266_deauther-2/web_interface/lang/in.lang | {
"lang": "in",
"warning": "PERINGATAN",
"disclaimer": "Proyek ini adalah bukti konsep untuk pengujian dan tujuan pendidikan.\nBaik ESP8266 maupun SDK-nya tidak dimaksudkan atau dibuat untuk tujuan tersebut. Bug bisa terjadi!\n\nGunakan hanya untuk jaringan dan perangkat Anda sendiri!\n\nIni menggunakan bin... | |
esp8266_deauther-2/web_interface/lang/it.lang | {
"lang": "it",
"warning": "AVVERTIMENTO",
"disclaimer": "Questo progetto è una prova di concetto per scopi di test e didattici. \nNè l'ESP8266, né il relativo SDK sono stati progettati o costruiti per tali scopi. \n\nUtilizza i frame Wi-Fi validi descritti nello standard IEEE 802.11 e non bloccare o interrompere ... | |
esp8266_deauther-2/web_interface/lang/ja.lang | {
"lang": "ja",
"warning": "警告",
"disclaimer": "このプロジェクトはテスト及び学術的な目的の概念実証です。\nESP8266及び、そのSDKは、このような目的のためのものではないため。バグがあるかもしれません。\n\n所有するデバイスとネットワークに対してのみ使用してください。\n\nIEEE 802.11標準に記述された有効なWi-Fiフレームを用いており、遮断及び周波数の攪乱ではありません。\n使用する前に自国内の法規を確認してください。\n\nこのプロジェクトでの\"妨害\"を意図しないでください。それはこのプロジェクト本来の目的に反するものです。\nこのプ... | |
esp8266_deauther-2/web_interface/lang/ko.lang | {
"lang": "ko",
"warning": "경고",
"disclaimer": "이 프로젝트는 교육목적 또는 테스트를 위해 만들어졌습니다.\nESP8266외 다른기기에서 오류가 발생할수 있습니다!\n\n절대로 공공장소에서 사용하지마세요 자신 네트워크 장치에서만 사용하세요!\n\nIEEE 802.11 표준에 설명된 유효한 Wi-Fi 프레임을 사용하며 그외 다른 주파수를 차단하거나 방해하지 않습니다.\n해당 장치를 사용하기전에 이용중인 국가의 규정을 확인하세요.\n\n제발 이 프로젝트명을 \"재머\", 라고 칭하지말아주세요! 저희는 재머 용도로... | |
esp8266_deauther-2/web_interface/lang/nl.lang | {
"lang": "nl",
"warning": "WAARSCHUWING",
"disclaimer": "Dit project is een proof of concept voor test- en educatieve doeleinden. \ nNoch de ESP8266, noch de SDK is bedoeld of gebouwd voor deze doeleinden. Er kunnen bugs optreden! \ n \ nGebruik het alleen voor uw eigen netwerken en apparaten ! \ n \ nHet... | |
esp8266_deauther-2/web_interface/lang/pl.lang | {
"lang": "pl",
"warning": "OSTRZEŻENIE",
"disclaimer": "Ten projekt jest dowodem pomysłu który służy do celów testowych i edukacyjnych.\nAni ESP8266, ani jego SDK nie były przeznaczone i zbudowane do takich celów. Mogą występować błędy!\n\nUżywaj go tylko na swoich sieciach i urządzeniach!\n\nUżywa prawidł... | |
esp8266_deauther-2/web_interface/lang/ptbr.lang | {
"lang": "pt-br",
"warning": "AVISO",
"disclaimer": "Este projeto é uma prova de conceito para fins educacionais e de teste.\nNem o ESP8266 nem seu SDK foram criados para esse propósito. Podem ocorrer erros!\n\nUtilize somente contra suas próprias redes e dispositivos!\n\nO software utiliza quadros Wi-Fi v... | |
esp8266_deauther-2/web_interface/lang/ro.lang | {
"lang": "ro",
"warning": "ATENȚIE",
"disclaimer": "Acest proiect este o dovadă a conceptului de testare și scopuri educaționale.\nESP8266 si SDK-ul nu au fost create pentru astfel de scopuri. Pot apărea bug-uri!\n\nUtilizați-l numai pe propriile rețele și dispozitive!\n\nAcest soft foloseste cadre valide Wifi d... | |
esp8266_deauther-2/web_interface/lang/ru.lang | {
"lang": "ru",
"warning": "ПРЕДУПРЕЖДЕНИЕ",
"disclaimer": "Этот проект можно использовать только для тестирования и в образовательных целях. \n Используйте его только для своих сетей и устройств! \n Использует действительные фреймы Wi-Fi, описанные в стандарте IEEE 802.11, не блокирует и не прерывает какие... | |
esp8266_deauther-2/web_interface/lang/th.lang | {
"lang": "th",
"warning": "คำเตือน",
"disclaimer": "โครงการนี้เป็นหลักฐานของแนวคิดสำหรับการทดสอบและเพื่อการศึกษา \n ทั้ง ESP8266 และ SDK ไม่ได้ถูกสร้างขึ้นหรือมีวัตถุประสงค์เพื่อวัตถุประสงค์ดังกล่าว ข้อบกพร่องสามารถเกิดขึ้นได้! \n\n ใช้กับเครือข่ายและอุปกรณ์ของคุณเท่านั้น! \n\n ใช้เฟรม Wi-Fi ที่ถูกต้องซึ่ง... | |
esp8266_deauther-2/web_interface/lang/tlh.lang | {
"lang": "tlh",
"warning": "WARNING",
"disclaimer": "jInmol tob concept waH 'ej educational ngoQ. nneither qej esp8266, 'ej \nsdk joq vIq ngoQ qach. laH may' yotlhDaq ghew! nnuse 'oH neH against \nnetworks jan 'ej! mub regulations neH Sep check nnit lo' neH ieee 802.11\n Hol Del 'ej wej bot pagh vay' Se'. npleas... | |
esp8266_deauther-2/web_interface/lang/uk.lang | {
"lang": "uk",
"warning": "ПОПЕРЕДЖЕННЯ",
"disclaimer": "Цей проект можна використовувати тільки для тестування і в освітніх цілях. \nВикористовуйте його тільки для своїх мереж і пристроїв! \nВикористовує дійсні фрейми Wi-Fi, описані в стандарті IEEE 802.11, не блокує і не перериває які-небудь частоти.\nБу... | |
Markdown | h4cker/CONTRIBUTING.md | # Contributor Covenant Code of Conduct
## Pledge
In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, gender ide... |
h4cker/LICENSE | MIT License
Copyright (c) 2023 Omar Santos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dist... | |
Markdown | h4cker/more_tools.md | # More Cool Tools
The following are a collection of recently-released pen test tools. I update this list every time that there is a new post and when I find a new one around the Internet. The rest of the repository has hundreds of additional cybersecurity and pen test tools.
----
- [GhostDelivery - This Tool Creates A... |
Markdown | h4cker/new_tools.md | # Latest Cool Tools
The following are a collection of recently-released pen test tools. I update this list every time that there is a new post and when I find a new one around the Internet. The rest of the repository has hundreds of additional cybersecurity and pen test tools.
----
- [ScrapPY - A Python Utility For Sc... |
Markdown | h4cker/README.md | # Cyber Security Resources
<center><img src="https://h4cker.org/img/h4cker2.PNG" width="200" height="300" /> </center>
This repository includes thousands of cybersecurity-related references and resources and it is maintained by [Omar Santos](https://omarsantos.io/). This GitHub repository has been created to provide... |
Markdown | h4cker/adversarial_emulation/README.md | # Adversarial Emulation Tools
- [Caldera](https://github.com/mitre/caldera)
- [SCYTHE](https://www.scythe.io/platform)
- [Randori](https://www.randori.com/attack/) |
Markdown | h4cker/ai_security/README.md | # AI Security Best Practices and Resources
## AI Security Best Practices and Tools
- [High-Level AI Security Best Practices](<AI Security Best Practices/AI-security-tools-and-frameworks.md>)
- [Homomorphic-Encryption](<AI Security Best Practices/homomorphic-encryption.md>)
- [AI Security Tools and Frameworks](<AI Secu... |
Python | h4cker/ai_security/AI for Incident Response/analyzing_logs.py | '''
A simple test to interact with the OpenAI API
and analyze logs from applications, firewalls, operating systems, and more.
Author: Omar Santos, @santosomar
'''
# Import the required libraries
# pip3 install openai python-dotenv
# Use the line above if you need to install the libraries
from dotenv import load_dote... |
Text | h4cker/ai_security/AI for Incident Response/logs.txt | [2026-08-18 12:34:56] Failed login attempt for user 'admin' from IP 192.168.1.10
[2026-08-18 12:34:57] Failed login attempt for user 'admin' from IP 192.168.1.10
[2026-08-18 12:34:58] Failed login attempt for user 'admin' from IP 192.168.1.10
[2026-08-18 13:45:23] SQL query error: SELECT * FROM users WHERE username='' ... |
Markdown | h4cker/ai_security/AI Security Best Practices/AI-security-tools-and-frameworks.md | # Exploring AI Security Tools and Frameworks
Different tools and frameworks have been developed to ensure the robustness, resilience, and security of AI systems. The following are some of the leading AI security tools and frameworks currently available.
## AI Security Tools
Several tools have been developed to help ... |
Markdown | h4cker/ai_security/AI Security Best Practices/high-level-best-practices.md | # Top AI Security Best Practices
The following are some of the top AI security best practices. Many of these AI-specific best practices are, in fact, universal strategies relevant to securing any system or environment. Their effective implementation is crucial not only for AI systems, but across all technology platfor... |
Markdown | h4cker/ai_security/AI Security Best Practices/homomorphic-encryption.md | # Homomorphic Encryption
Homomorphic encryption is a form of encryption allowing one to perform calculations on encrypted data without decrypting it first. The result of the computation is in encrypted form, and when decrypted, it matches the result of the operation as if it had been performed on the plain text.
This... |
Markdown | h4cker/ai_security/AI Security Best Practices/secure-deployment.md | # AI Secure Deployment
High-level list of AI Secure Deployment best practices:
| Best Practice | Description |
| --- | --- |
| Use Secure APIs | All communication with the AI model should be done using secure APIs that use encryption and other security protocols. |
| Implement Authentication and Access Controls | Ens... |
Markdown | h4cker/ai_security/AI Security Best Practices/secure-design.md | # AI Secure Design Best Practices
Secure design of AI systems involves integrating security practices at every stage of the AI development process, starting from the design phase. It aims to build robustness, privacy, fairness, and transparency into AI systems. The following are some of the best practices in secure AI ... |
Markdown | h4cker/ai_security/AI Security Best Practices/threat-modeling.md | # Tools for Threat Modeling AI Systems
There are several tools and methodologies that you can use to conduct threat modeling for AI systems.
| Tool / Methodology | Description | Link |
| --- | --- | --- |
| Microsoft's STRIDE Model | A model for identifying computer security threats. Useful for categorizing and rememb... |
Markdown | h4cker/buffer_overflow_example/additional_examples.md | # Additional Buffer Overflow Examples
The website https://exploit.education has great examples of different types of buffer overflows, format strings and heap exploitation. It includes different VMs that allow you to complete several beginner, intermediate, and advanced challenges. |
Markdown | h4cker/buffer_overflow_example/arm.md | # ARM Architecture Resources
The following are a few good resources that can help you become familiar with the ARM architecure and exploitation of ARM-based vulnerabilities.
## Tutorials and Articles
* [ARM Assembly Basics Series](https://azeria-labs.com/writing-arm-assembly-part-1/) - Azeria
* [ARM Binary Exploitat... |
C | h4cker/buffer_overflow_example/bad_code.c | #include <stdio.h>
void secretFunction()
{
printf("Omar's Crappy Function\n");
printf("This is a super secret function!\n");
}
void echo()
{
char buffer[20];
printf("Please enter your name below:\n");
scanf("%s", buffer);
printf("You entered: %s\n", buffer);
}
int main()
{
echo();
... |
Markdown | h4cker/buffer_overflow_example/learn_assembly.md | # Learning Assembly for the Purpose of Principles of Reverse Engineering
Learning assembly language, whether it's for x86 or ARM architectures, can be a complex task as it involves understanding the computer at a more fundamental level compared to high-level languages. Here are some important concepts and topics you s... |
Markdown | h4cker/buffer_overflow_example/mitigations.md | # Mitigations for Buffer Overflows and Code Execution Prevention
When running a program, compilers often create random values known as canaries, and place them on the stack after each buffer. Much like the coalmine birds for which they are named, these canary values flag danger. Checking the value of the canary agains... |
Shell Script | h4cker/buffer_overflow_example/one_liner_exploit.sh | #!/bin/bash
# Simple one-liner script to exploit the vuln_program buffer overflow
# Author: Omar Santos @santosomar
# Explanation:
# echo -en is used to enable interpretation of backslash escapes and turns off
# the default behavior of the echo command which is to add a newline at the end of the output.
# $(for i i... |
Markdown | h4cker/buffer_overflow_example/README.md | # Buffer Overflow Example
***This is an example of a very bad coding practices*** that introduces a buffer overflow. The purpose of this code is to serve as a demonstration and exercise for [The Art of Hacking Series and live training](https://www.safaribooksonline.com/search/?query=Omar%20Santos%20hacking&extended_pu... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.