kevingrondin / assault

Script pour avoir des statistiques sur un site

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assault

I learn python, even if i prefer javascript, i programming on linode cloud

  • Exemple to extrat on results.json : assault -c 10 -r 100 --json-file results.json https://google.com
  • Exemple to print with variable environement at true : DEBUG=true assault -c 10 -r 100 https://google.com

Install Python And Jupiter Notebook

apt update

apt install python3 python3-pip

pip3 install --upgrade pip

pip3 install jupyter

A little part of SSH

ssh-keygen -t rsa -b 4096 -C "monnom@mail.com" -f ~/.ssh/id_rsa-remote-ssh

ssh-copy-id -i ~/.ssh/id_rsa-remote-ssh.pub moncompte@serveur.com
# Sur le serveur
ssh-add -K ~/.ssh/id_rsa-remote-ssh.pub

dans .ssh/

Host *
  ForwardAgent yes
  RequestTTY
  AddKeysToAgent yes

  Host mon-serveur
    User cloud_user
    Hostname monserveur.com
    IdentityFile ~/.ssh/id_rsa-remote-ssh
    LocalForward 127.0.0.1:8080 127.0.0.1:8080

Alternativ to npm link of nodejs

# For setup your app
curl -O https://raw.githubusercontent.com/kennethreitz/setup.py/master/setup.py

# Get .gitignore python
curl -o .gitignore https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore

on setup.py

# on line 107
entry_points={"console_scripts": ["assault=assault.cli:cli"],},
pip3.7 install -e .

About

Script pour avoir des statistiques sur un site


Languages

Language:Python 100.0%