⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.96
Server IP:
147.93.97.220
Server:
Linux srv843233 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
Server Software:
nginx/1.28.0
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
uwsgi-core
/
examples
/
wsgi
/
View File Name :
mjpeg_stream.py
import uwsgi import os def application(env, start_response): boundary = 'uwsgi_mjpeg_frame' start_response('200 Ok', [ ('Cache-Control', 'no-cache'), ('Cache-Control', 'private'), ('Pragma', 'no-cache'), ('Content-Type', 'multipart/x-mixed-replace; boundary=' + boundary), ] ) yield "--%s\r\n" % boundary while 1: yield "Content-Type: image/jpeg\r\n\r\n" print(os.system('screencapture -t jpg -m -T 1 screenshot.jpg')) f = open('screenshot.jpg') yield env['wsgi.file_wrapper'](f) yield "\r\n--%s\r\n" % boundary #os.system('./isightcapture -w 640 -h 480 screenshot.jpg')