- Login to CR660X, open Wi-Fi, disable "merge 2.4G with 5G"
- Get another router, open 2.4G Wi-Fi, set LAN ip as
169.254.31.3
, disable DHCP, connect LAN with CR660X's LAN - Get a laptop, connect LAN with CR660X's LAN, connect CR660X's 5G Wi-Fi. Set wired IP as
169.254.31.1
, run the python script - Login to CR660X's web page, get its IP, and get stok in URL
- Open the html page, fill in the IP, stok, SSID, password, and get URLs. Clicks the URLs one by one.
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
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import argparse | |
import requests | |
import logging | |
import socket |
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
# -*- coding: utf-8 -*- | |
from __future__ import absolute_import | |
from __future__ import division | |
from __future__ import print_function | |
import argparse | |
import numpy as np | |
import os | |
import random |
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
import cv2 | |
cam = cv2.VideoCapture(0) | |
cam.set(3, 640) # set video width | |
cam.set(4, 480) # set video height | |
face_detector = cv2.CascadeClassifier('conf/haarcascade_frontalface_default.xml') | |
# For each person, enter one numeric face id | |
names_count = [x.strip() for x in open('conf/names.txt').readlines() if x.strip() != ""] |
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
import json | |
import os | |
from tqdm import tqdm | |
from xmltodict import unparse | |
# BBOX_OFFSET: Switch between 0-based and 1-based bbox. | |
# The COCO dataset is in 0-based format, while the VOC dataset is 1-based. | |
# To keep 0-based, set it to 0. To convert to 1-based, set it to 1. | |
BBOX_OFFSET = 0 |
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
import configparser | |
import sqlite3 | |
from os.path import join | |
from gammu import smsd | |
class ForwardTargetBase: | |
def send(self, message): | |
raise NotImplementedError() |
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
<VirtualHost *:80> | |
ServerName your.domain | |
ServerAdmin admin@your.domain | |
DocumentRoot /var/www/v2proxy/ | |
ErrorLog ${APACHE_LOG_DIR}/error-v2proxy.log | |
CustomLog ${APACHE_LOG_DIR}/access-v2proxy.log combined | |
php_admin_value open_basedir "/var/www/v2proxy/:/tmp/:/proc/" | |
<Directory /var/www/v2proxy> |
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
// ==UserScript== | |
// @name Shame Eyesdroper | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match *://*/* | |
// @grant none | |
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js | |
// @run-at document-start |
NewerOlder