Thanks for taking an interest in this awesome little project. We love to bring new members into the community, and can always use the help.
- Task tracking and Bug reports: GitHub
- Discussion: the Python Discord server
# Editors | |
.vscode/ | |
.idea/ | |
# Vagrant | |
.vagrant/ | |
# Mac/OSX | |
.DS_Store |
# This example pyproject.toml is for a basic pip+setuptools setup. | |
# If you use a project management tool (like Poetry), then | |
# those tools will have slightly different configurations or additions. | |
# I highly recommend using a project management tool for your project. | |
# Project management is a highly opinionated subject. | |
# There are a lot of good, robust tools in this space now (as of 2023) | |
# Two that I've used and recommend are Poetry and PDM. | |
# Poetry is more mature, PDM is recent, both work well. | |
# - Poetry: https://python-poetry.org/ |
# ************************************** | |
# ** Get MAC address of a remote host ** | |
def arpreq_ip(ip): | |
# type: (str) -> Optional[str] | |
import arpreq | |
return arpreq.arpreq('192.168.1.1') | |
def scapy_ip(ip): | |
# type: (str) -> str | |
"""Requires root permissions on POSIX platforms. |
# Pre-commit config (https://pre-commit.com/) | |
.pre-commit-config.yaml | |
# Editors/IDEs/etc | |
.idea | |
.vscode | |
.vagrant | |
.classpath | |
.project |
[MASTER] | |
# Specify a configuration file. | |
#rcfile= | |
# Python code to execute, usually for sys.path manipulation such as | |
# pygtk.require(). | |
#init-hook= | |
# Add files or directories to the blacklist. They should be base names, not |
# Set colored terminal prompt as "hostname:current directory$ " | |
# Not sure if this works on centos yet | |
# PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\h\[\033[00m\]:\[\033[01;34m\]\W\[\033[00m\]\$ ' | |
# Niceities | |
alias cd..="cd .." | |
alias rm="rm -i" # Interactive mode delete | |
alias hs="cd ~/ && ls" | |
alias up="cd .." | |
alias home="cd ~/" |
#!/usr/bin/env python3 | |
""" | |
Sources | |
* https://github.com/GhostofGoes/ADLES | |
""" | |
import logging | |
import logging.handlers | |
import sys | |
import os |
import sys | |
for m in sys.modules.keys(): | |
if not m.startswith('__') and '.' not in m: | |
sys.modules[m] = None |
#!/usr/bin/env python3 | |
"""Velocioraptor. rawr.""" | |
# TODO: improve resiliency to unexpected format changes/deviations | |
# TODO: generate modbus register/tag map | |
# TODO: generate input to a scanning script (what that looks like is TBD) | |
import xml.etree.ElementTree as ET | |
from pathlib import Path |
Thanks for taking an interest in this awesome little project. We love to bring new members into the community, and can always use the help.