Skip to content

Instantly share code, notes, and snippets.

View v3rlly's full-sized avatar
🎯
Focusing

v3rlly v3rlly

🎯
Focusing
View GitHub Profile

how to install shodan on ubuntu 20.04

sudo apt install python3-pip

sudo apt-get install build-essential python-dev

sudo apt-get install python-setuptools


@v3rlly
v3rlly / go_autosetup.sh
Last active May 12, 2021 16:35
Golang one line autosetup using curl
#!/usr/bin/bash
####################################################
# Golang autosetup script
#
# usage:
# v=GOLANG_VERSION curl -s THIS_RAW_GIST | bash
#
# copy & paste:
# v=1.16.4 curl -s https://gist.githubusercontent.com/v3rlly/502debce2eef17c9570553046aa316db/raw/go_autosetup.sh | bash
####################################################
@v3rlly
v3rlly / arch-linux-network-config-virtualbox.md
Last active March 3, 2024 23:00
Arch Linux network config - Virtualbox

Virtualbox info

mode: NAT
gateway: 10.0.2.2
network mask: 255.255.255.0
cidr: 10.0.2.0/24

Arch Linux info

interfaces:

  1. lo - state: unknown
  2. enp0s3 - state: down
@v3rlly
v3rlly / aws-signed-http-requests-example.go
Created June 17, 2021 13:23
Create signed request for any AWS service.
package util
import (
"net/http"
"strings"
"time"
"github.com/aws/aws-sdk-go/aws/credentials"
v4 "github.com/aws/aws-sdk-go/aws/signer/v4"
)
@v3rlly
v3rlly / install-ca-android-emulator.sh
Last active July 27, 2022 21:04
Install BurpSuite and Mitmproxy certificates on android emulator API LEVEL > 28
#!/bin/bash
#
# Install BurpSuite and Mitmproxy certificates on android emulator
# ref:
# - https://docs.mitmproxy.org/stable/howto-install-system-trusted-ca-android/
# - https://secabit.medium.com/how-to-configure-burp-proxy-with-an-android-emulator-31b483237053
#
# report errors
set -au;
#!/bin/bash
#
# Install required packages for Blockscout
#
# Tested on: Debian 11 Bullseye
#
set -eu;
@v3rlly
v3rlly / docker-debian-11.sh
Last active May 27, 2022 13:54
Install Docker on Debian 11 Bullseye (one line)
#!/bin/bash
#
# Install docker on Debian 11 Bullseye with one line
#
set -u;
# Check if user is root.
[[ ! $(id -u) -eq 0 ]] && echo "Run as root." && exit 1;