If you need CUDA Tolkit 11 with nvcc
, other tools and libraries you can install it from NVIDIA Ubunutu 20.04 repository.
Add Ubuntu 20.04 repository
# First let's update all the packages to the latest ones with the following command | |
sudo apt update -qq | |
# Now we want to install some prerequisite packages which will let us use HTTPS over apt | |
sudo apt install apt-transport-https ca-certificates curl software-properties-common -qq | |
# After that we will add the GPG key for the official Docker repository to the system | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
# We will add the Docker repository to our APT sources |
mitmproxy
or mitmweb
.
If you plan on sniffing traffic from a macOS VM, it is probably preferable to install mitmproxy on the host OS.System Settings
→ Network
→ Advanced
→ HTTP
and HTTPS
proxiesOptions
→ Don't verify server certificates
#!/bin/bash | |
###AUTHOR### | |
#Harry Dove-Robinson 5/8/2017 | |
#harry@doverobinson.me | |
#https://gist.github.com/hdoverobinson | |
#https://github.com/hdoverobinson | |
###USAGE### | |
#This is a script used to configure u-blox GPS/GNSS modules from a text file generated by u-center. |
"""Copyright (c) 2024 Cypheriel. | |
Secure Remote Password protocol implementation. | |
This module provides an implementation of the Secure Remote Password protocol, as defined in RFC 5054. | |
For now, only the client-side implementation is provided. | |
This implementation is designed to be compatible with the Apple SRP implementation, as used in the GrandSlam framework. | |
See: | |
- https://datatracker.ietf.org/doc/html/rfc5054 |
c: command | |
cc: commandContext | |
v: version | |
P: payload | |
N: bulkedPayload | |
fP: fanoutPayload | |
aP: additionalPayload | |
Pm: payloadMetadata | |
i: messageId | |
U: messageUUID |
#!/usr/bin/env python | |
# Inspired by: https://www.youtube.com/watch?v=izG7qT0EpBw | |
# The CRC values are verified using: https://crccalc.com/ | |
def reflect_data(x, width): | |
# See: https://stackoverflow.com/a/20918545 | |
if width == 8: | |
x = ((x & 0x55) << 1) | ((x & 0xAA) >> 1) | |
x = ((x & 0x33) << 2) | ((x & 0xCC) >> 2) | |
x = ((x & 0x0F) << 4) | ((x & 0xF0) >> 4) |
#!/usr/bin/env python | |
import os | |
import subprocess | |
# > python subprocessdemote.py | |
# > sudo python subprocessdemote.py | |
def check_username(): |
#/etc/mactab | |
--- | |
lan0 00:11:22:33:44:01 | |
wan0 00:11:22:33:44:02 |
"""Demonstrates how to construct and send raw Ethernet packets on the | |
network. | |
You probably need root privs to be able to bind to the network interface, | |
e.g.: | |
$ sudo python sendeth.py | |
""" | |
from socket import * |