Skip to content

Instantly share code, notes, and snippets.

View vitouXY's full-sized avatar
💭
This account has been flagged. :(

Vito u XY vitouXY

💭
This account has been flagged. :(
View GitHub Profile
@vitouXY
vitouXY / CN_DULoad_ES.sh
Last active November 13, 2018 02:16
Download Edit Translate Upload · Text
#!/usr/bin/env bash
##!/usr/bin/env zsh
##!/usr/bin/env bash
##!/bin/bash -e
# ${HOME}/.local/bin/<mm>
set -o errexit
set -o nounset
set -o pipefail
set -o xtrace
@vitouXY
vitouXY / SimpleServer.py
Created November 13, 2018 01:56
Simple Server ; QPython
#!/usr/bin/env python2
#!/usr/bin/python2
#-*-coding:utf8-*-
#qpy:console
""" SimpleServer.py -h
Original Version By InunxLABS 1.00.10 - 22/07/13
Mail : inunxlabs@gembox.us
Paypal : inunxelex@yahoo.com
Payza : inunxlabs@gmail.com
@vitouXY
vitouXY / HTTPInjector.py
Last active April 16, 2022 12:43
HTTP Injector ; QPython
#!/usr/bin/env python2
#!/usr/bin/python2
#-*-coding:utf8-*-
# coding=utf-8
#qpy:console
"""
HTTP Injector Python
https://stackoverflow.com/questions/43341946/injector-python-http-proxy-basic-proxy-authentication
+++ Inject Payload
@vitouXY
vitouXY / bt_tether.py
Created April 18, 2020 02:51
Connet the RPi to Android AP (over Bluethooth)
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
"""
bt-tether.py - Connet the Pi to Android AP (over Bluethooth)
Source:
Code adapted by dadav for Pwnagotchi plugins,
https://github.com/evilsocket/pwnagotchi/blob/master/pwnagotchi/plugins/default/bt-tether.py
@vitouXY
vitouXY / new_display.py
Last active April 19, 2020 02:17
1.3" OLED Display HAT for Raspberry Pi by Waveshare (SH1106)
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
""" ? -> ALarm Py2 -> Raspbian Py3
Original code: https://github.com/acegallagher/rpi_rp1/blob/master/new_display.py
https://github.com/tink3rtanner/opc/blob/master/listui.py
"""
from __future__ import print_function # the future is now, and it is good
from __future__ import unicode_literals
@vitouXY
vitouXY / monitor.py
Last active December 28, 2020 07:59
1.3" OLED Display HAT for Raspberry Pi by Waveshare (SH1106)
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# -*- coding:utf-8 -*-
""" RPi0W 20FEB2020_0400_nonTesting
Linux alarmpi 4.19.102-1-ARCH #1 SMP PREEMPT Sun Feb 9 19:27:01 UTC 2020 armv6l GNU/Linux
Original by pangduckwai (github.com/pangduckwai/)
raw.githubusercontent.com/pangduckwai/PiDisplay/master/monitor.py
@vitouXY
vitouXY / SimpleHTTPServerWithUpload.py
Last active May 19, 2020 02:10
Simple HTTP Server With Upload. /HTTPS /Authentication
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: set fileencoding=utf-8 :
from __future__ import print_function, unicode_literals
"""
Simple HTTP Server With Upload ...and SSL ... and Authentication.
This module builds on BaseHTTPServer by implementing the standard GET
and HEAD requests in a fairly straightforward manner.
@vitouXY
vitouXY / monitor_mod3.py
Last active May 2, 2020 19:06
0.0.1-04.27.2020-raw
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
# vim: set fileencoding=utf-8 :
"""
piMenu
1.3" OLED Display HAT for Raspberry Pi by Waveshare
128x64
Driver: SH1106
# https://github.com/nopmop/picore-headless-setup/raw/master/picore-headless-setup.sh
# Raspberry Pi Zero W
# TinyCoreLinux
# Headless SetUp
# D0N'T RUN THI5 !!!
exit 2
@vitouXY
vitouXY / Configure-Ethernet-RNDIS-PiZero-connection.ps1
Last active May 22, 2023 18:14
Raspberry Pi Zero W - USB Gadget (libcomposite) - TinyCoreLinux (piCore)
# copyright Threadsec Inc
# This script auto-configure and ssh auto-connect to RPi ZERO Ethernet gadget VID:0x1d6b PID:0x0137
# This script require admin right to access to adapter conf.
# https://threadsec.wordpress.com/raspberry-pi-zero-usb-composite-gadget/
#
# Edit $user=""
# Windows 10 : As Admin, run:
# powershell -ep bypass -file Configure-Ethernet-RNDIS-PiZero-connection.ps1
#
Clear-Host