Check the volume name of your USB stick:
diskutil list # check for something like /dev/disk2
Then erase what you have on the stick currently:
diskutil eraseDisk FAT32 LINUX /dev/<DISK>
Unmount the disk:
Check the volume name of your USB stick:
diskutil list # check for something like /dev/disk2
Then erase what you have on the stick currently:
diskutil eraseDisk FAT32 LINUX /dev/<DISK>
Unmount the disk:
# Simple directory scanner written in Python (needs requests library) | |
# Author: Matej Ramuta | |
# Usage: python reqscanner.py domain.com wordlist.txt | |
# domain.com must not end with a slash! | |
import requests | |
import sys | |
domain = str(sys.argv[1]).replace("http://", "").replace("https://", "") | |
wordfile = sys.argv[2] |
# Author: Matej Ramuta | |
# How to use this script: | |
# 1. You need to have a wordlist file, something like rockyou.txt | |
# 2. Make sure you have Python 3 installed. Try this with "python --version" command. Also check "python3 --version" | |
# 3. Run the script like this: python sudo_brute_force.py passwords.txt | |
import os | |
import sys | |
if len(sys.argv) == 1: |
I hereby claim:
To claim this, I am signing this object:
{% extends "base.html" %} | |
{% block title %}About me{% endblock title %} | |
{% block content %} | |
<h1>About me</h1> | |
<p>Here are some things about me...</p> | |
{% endblock content %} |
from google.appengine.api import users | |
from webapp2 import redirect_to, redirect | |
def google_login_required(handler): | |
def _check_login(self, *args, **kwargs): | |
user = users.get_current_user() | |
if user: | |
return handler(self, *args, **kwargs) | |
else: |
if [ "$(uname)" == "Darwin" ]; then link="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-200.0.0-darwin-x86_64.tar.gz"; else echo "Not Mac";fi | |
if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then link= "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-200.0.0-linux-x86_64.tar.gz"; else echo "Not Linux"; fi | |
echo ${link} | |
if [ ! -d ~/google-cloud-sdk ]; then wget -qO- "$link" | tar xvz -C ~; else echo "google-cloud-sdk folder already downloaded in home directory"; fi | |
cd ~ | |
bash ./google-cloud-sdk/install.sh --quiet | |
gcloud components install app-engine-python --quiet | |
gcloud components install app-engine-python-extras --quiet | |
gcloud components update --quiet |
template = "some-template.html" | |
template_params = {"var1": "value1", "var2": "value2"} | |
jinja_env = jinja2.Environment(loader=jinja2.FileSystemLoader(template_dir), | |
extensions=['jinja2.ext.autoescape'], | |
autoescape=False) | |
html_template = jinja_env.get_template(template) | |
if not template_params: |