Applying and using the following modifications are up to your responsibility.
I provide this example for you to better understand the code and how such an automatic attack-all could work.
It doesn't mean it will work, I won't provide you with further assistence, or keep this up-to-date.
These modifications make it easy to attack devices you wouldn't want to attack, keep that in mind!
You may easily violate law by using such an attack in public space.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://www.facebook.com/photo?fbid=3769368939762114&set=gm.1306912559653197 | |
from itertools import chain | |
import timeit | |
# Interesting Code Sample | |
# expected = [x for xs in [[x]*int(expected_dist[x]) for x in range(0, N+1)] for x in xs] | |
# Original Appraoch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.discoverbits.in/864/error-launchpadlib-requires-testresources-which-installed | |
== | |
ERROR: launchpadlib 1.10.6 requires testresources, which is not installed. | |
+2 votes | |
asked Oct 6, 2019 in Programming Languages by pythonuser (11.5k points) | |
recategorized Oct 6, 2019 by pythonuser | |
I am getting the following error when I try to upgrade setuptools: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# pip install pytube3 | |
import pytube | |
import urllib.request | |
import subprocess | |
content = pytube.YouTube("https://www.youtube.com/watch?v=YQHsXMglC9A") | |
streams = content.streams.filter(only_audio=True).order_by("abr").desc() | |
response = urllib.request.urlopen(streams[0].url) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C#9 | |
using System; | |
using System.Collections.Generic; | |
foreach (var (value, index) in 5..10) | |
{ | |
Console.WriteLine($"Value = {value.ToString()}, Index = {index.ToString()}"); | |
} | |
public static class RangeExtensions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
#include <wininet.h> | |
#include <stdio.h> | |
#pragma comment (lib, "Wininet.lib") | |
int main(int argc, char *argv[]) { | |
HINTERNET hSession = InternetOpen( | |
L"Mozilla/5.0", // User-Agent |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#This code is licensed as CC0 1.0 (https://creativecommons.org/publicdomain/zero/1.0/legalcode). | |
import sys | |
import pygame as pg | |
class Game(object): | |
""" | |
A single instance of this class is responsible for | |
managing which individual game state is active |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <QtGui> | |
#include <QGraphicsRectItem> | |
#include <QGraphicsView> | |
#include <QApplication> | |
#include <QGraphicsSceneMouseEvent> | |
class CustomItem : public QGraphicsEllipseItem | |
{ | |
protected: | |
void mousePressEvent(QGraphicsSceneMouseEvent *event) |
NewerOlder