Skip to content

Commit 15f1ba3

Browse files
committed
1.4.4 reformated code
used ruff (with indent-size = 2) to reformat code
1 parent c58da59 commit 15f1ba3

16 files changed

+1747
-1570
lines changed

pyproject.toml

+20-20
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
[project]
22
name = "vagd"
3-
version = "1.4.3"
3+
version = "1.4.4"
44
authors = [{ name = "0x6fe1be2" }]
55
description = "VirtuAlization GDb integrations in pwntools"
66
readme = "README.md"
77
requires-python = ">=3.7"
88
dependencies = ['pwntools', 'docker', 'typer', 'rich']
99
classifiers = [
10-
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
11-
"Programming Language :: Python :: 3",
12-
"Operating System :: POSIX :: Linux",
10+
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
11+
"Programming Language :: Python :: 3",
12+
"Operating System :: POSIX :: Linux",
1313
]
1414
keywords = [
15-
'vagd',
16-
'pwn',
17-
'pwntools',
18-
'exploit',
19-
'ctf',
20-
'capture',
21-
'the',
22-
'flag',
23-
'binary',
24-
'vagrant',
25-
'qemu',
26-
'docker',
15+
'vagd',
16+
'pwn',
17+
'pwntools',
18+
'exploit',
19+
'ctf',
20+
'capture',
21+
'the',
22+
'flag',
23+
'binary',
24+
'vagrant',
25+
'qemu',
26+
'docker',
2727
]
2828

2929
[project.scripts]
@@ -38,10 +38,10 @@ where = ["src"]
3838

3939
[tool.setuptools.package-data]
4040
"vagd.res" = [
41-
"template.txt",
42-
"seccomp.json",
43-
"local_template.txt",
44-
"aliases.txt",
41+
"template.txt",
42+
"seccomp.json",
43+
"local_template.txt",
44+
"aliases.txt",
4545
]
4646
"vagd.gdb" = ["*.pyi"]
4747

src/vagd/__init__.py

-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
from vagd.box import Box
22
from vagd.virts import *
3-
4-
5-

src/vagd/__main__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
import vagd.cli as cli
22

3-
if __name__ == '__main__':
4-
cli.start()
3+
if __name__ == "__main__":
4+
cli.start()

src/vagd/box.py

+23-20
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
class Box:
2-
""" constants class for recommended images and boxes """
3-
VAGRANT_JAMMY64 = 'ubuntu/jammy64'
4-
VAGRANT_FOCAL64 = 'ubuntu/focal64'
5-
VAGRANT_BIONIC64 = 'ubuntu/bionic64'
6-
VAGRANT_XENIAL64 = 'ubuntu/xenial64'
7-
QEMU_NOBLE = 'https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img'
8-
QEMU_JAMMY = 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img'
9-
QEMU_FOCAL = 'https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img'
10-
QEMU_BIONIC = 'https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img'
11-
QEMU_XENIAL = 'https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img'
12-
QEMU_JAMMY_ARM = 'https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-arm64.img'
13-
DOCKER_NOBLE = 'ubuntu:noble'
14-
DOCKER_JAMMY = 'ubuntu:jammy'
15-
DOCKER_FOCAL = 'ubuntu:focal'
16-
DOCKER_BIONIC = 'ubuntu:bionic'
17-
DOCKER_XENIAL = 'ubuntu:xenial'
18-
DOCKER_I386_FOCAL = 'i386/ubuntu:focal'
19-
DOCKER_I386_BIONIC = 'i386/ubuntu:bionic'
20-
DOCKER_I386_XENIAL = 'i386/ubuntu:xenial'
21-
DOCKER_ALPINE_316 = 'alpine:3.16.6'
2+
"""constants class for recommended images and boxes"""
3+
4+
VAGRANT_JAMMY64 = "ubuntu/jammy64"
5+
VAGRANT_FOCAL64 = "ubuntu/focal64"
6+
VAGRANT_BIONIC64 = "ubuntu/bionic64"
7+
VAGRANT_XENIAL64 = "ubuntu/xenial64"
8+
9+
QEMU_NOBLE = "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
10+
QEMU_JAMMY = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img"
11+
QEMU_FOCAL = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
12+
QEMU_BIONIC = "https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img"
13+
QEMU_XENIAL = "https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-disk1.img"
14+
QEMU_JAMMY_ARM = "https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-arm64.img"
15+
16+
DOCKER_NOBLE = "ubuntu:noble"
17+
DOCKER_JAMMY = "ubuntu:jammy"
18+
DOCKER_FOCAL = "ubuntu:focal"
19+
DOCKER_BIONIC = "ubuntu:bionic"
20+
DOCKER_XENIAL = "ubuntu:xenial"
21+
DOCKER_I386_FOCAL = "i386/ubuntu:focal"
22+
DOCKER_I386_BIONIC = "i386/ubuntu:bionic"
23+
DOCKER_I386_XENIAL = "i386/ubuntu:xenial"
24+
DOCKER_ALPINE_316 = "alpine:3.16.6"

0 commit comments

Comments
 (0)