Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
403 changes: 397 additions & 6 deletions .gitignore

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10
23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[project]
name = "neo-regeorg"
authors = [
{name = "L-codes"}
]
description = "Neo-reGeorg is a project that seeks to aggressively refactor reGeorg"
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"requests[socks]>=2.32.3",
]

dynamic = ["version"]

[project.scripts]
neoreg = "neoreg:main"

[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
local_scheme = "no-local-version"
10 changes: 9 additions & 1 deletion neoreg.py → src/neoreg.py
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
#ADDRTYPEUNSPPORT = b"\x08"
#UNASSIGNED = b"\x09"

global HEADERS, BLV_L_OFFSET, EncodeMap, DecodeMap, LOCALDNS, BASICCHECKSTRING, INIT_COOKIE, args, EXTRACT_EXPR
global READBUFSIZE, MAXTHERADS, MAXRETRY, READINTERVAL, WRITEINTERVAL, PHPSERVER, PHPSKIPCOOKIE, GOSERVER, PHPTIMEOUT

# Globals
READBUFSIZE = 7
MAXTHERADS = 400
Expand Down Expand Up @@ -748,7 +751,9 @@ def choice_useragent():

"""

if __name__ == '__main__':
def main():
global HEADERS, BLV_L_OFFSET, EncodeMap, DecodeMap, LOCALDNS, BASICCHECKSTRING, INIT_COOKIE, args, EXTRACT_EXPR
global READBUFSIZE, MAXTHERADS, MAXRETRY, READINTERVAL, WRITEINTERVAL, PHPSERVER, PHPSKIPCOOKIE, GOSERVER, PHPTIMEOUT
if len(sys.argv) == 1:
print(banner)
print(use_examples)
Expand Down Expand Up @@ -1027,3 +1032,6 @@ def choice_useragent():
print(" => %s/%s" % (outdir, os.path.basename(outfile)))

print('')

if __name__ == "__main__":
main()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
175 changes: 175 additions & 0 deletions uv.lock

Large diffs are not rendered by default.