Move net.py to lib (#1246)

This commit is contained in:
Gulshan Singh 2022-10-07 16:17:33 -07:00 committed by GitHub
parent 6a40c09057
commit 8fdc423841
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
:mod:`pwndbg.net` --- pwndbg.net
:mod:`pwndbg.lib.net` --- pwndbg.lib.net
=============================================
.. automodule:: pwndbg.net
.. automodule:: pwndbg.lib.net
:members:

View File

@ -23,7 +23,6 @@ import pwndbg.exception
import pwndbg.gdbutils.functions
import pwndbg.heap
import pwndbg.lib.version
import pwndbg.net
import pwndbg.proc
import pwndbg.ui
import pwndbg.vmmap

View File

@ -4,7 +4,7 @@ import pwndbg.auxv
import pwndbg.commands
import pwndbg.file
import pwndbg.lib.memoize
import pwndbg.net
import pwndbg.lib.net
import pwndbg.proc
try:
@ -165,7 +165,7 @@ class Process:
socket = "socket:["
result = []
functions = [pwndbg.net.tcp, pwndbg.net.unix, pwndbg.net.netlink]
functions = [pwndbg.lib.net.tcp, pwndbg.lib.net.unix, pwndbg.lib.net.netlink]
for fd, path in fds.items():
if socket not in path: