Install OpenCV 4.1.2 on Raspbian Buster
$ chmod +x *.sh
$ ./download-opencv.sh
$ ./install-deps.sh
$ ./build-opencv.sh
$ cd ~/opencv/opencv-4.1.2/build
$ sudo make install
/* | |
1) Open https://popcat.click | |
2) Open console (F12 or CTRL+SHIFT+I) | |
3) Insert code & run | |
4) Monitor bot progress in the console | |
Note: popcat.click server registers only 800 pops every 30 seconds per IP address (that's why this bot is slow and runnig it in multiple tabs won't work). | |
If you'll send 800 or more clicks 10 times in a row, you'll get banned for 12 hours ("ban" cookie is set). | |
This bot addresses this issue and will NOT get you banned. |
/* | |
1) Open https://popcat.click | |
2) Open console (F12) | |
3) Insert code & run | |
*/ | |
var event = new KeyboardEvent('keydown', { | |
key: 'g', | |
ctrlKey: true |
import torch | |
import os | |
import logging | |
from dotenv import load_dotenv, find_dotenv | |
from PIL import Image | |
load_dotenv(find_dotenv()) | |
yolo_model = os.getenv("YOLO_MODEL", "yolov5s") | |
logging.info(f"YOLO model - {yolo_model}") |
from harvesters.core import Harvester | |
import sys | |
import traceback | |
import cv2 | |
def main(): | |
h = Harvester() | |
h.add_cti_file('C:/Program Files/JAI/SDK/bin/JaiUSB3vTL.cti') | |
h.update_device_info_list() | |
ia = h.create_image_acquirer(0) |
Install OpenCV 4.1.2 on Raspbian Buster
$ chmod +x *.sh
$ ./download-opencv.sh
$ ./install-deps.sh
$ ./build-opencv.sh
$ cd ~/opencv/opencv-4.1.2/build
$ sudo make install
Student ID: IoTE-775
This Blog/Gist will be very detailed with a lot of additional listings to see the process and methodology of Examination.
In this gist I will try to examine and exploit the Sricam SP009. I purchased it from Attify with the IOT Exploitation Kit.
Note that the following code must be run at every boot for this to work, because of the repeated-start requirement:
sudo su -c 'echo "Y" > /sys/module/i2c_bcm2708/parameters/combined'
There’s some discussion about how to do this here, involving Werkzeug’s middleware. | |
http://stackoverflow.com/questions/4239825/static-files-in-flask-robot-txt-sitemap-xml-mod-wsgi | |
This is another way to do it, assuming you have a folder called “static” under where the main application .py file is located: | |
from flask import Flask, request | |
app = Flask(__name__, static_url_path='') | |
@app.route('/') | |
def root(): |
package main | |
import ( | |
"fmt" | |
"github.com/gorilla/mux" | |
"github.com/gorilla/securecookie" | |
"net/http" | |
) | |
// cookie handling |
#!/usr/bin/env python | |
from PySide.QtCore import * | |
from PySide.QtGui import * | |
import cv2 | |
import sys | |
class MainApp(QWidget): | |
def __init__(self): |