mirror of https://github.com/pwndbg/pwndbg
Move net.py to lib (#1246)
This commit is contained in:
parent
6a40c09057
commit
8fdc423841
|
@ -1,5 +1,5 @@
|
|||
:mod:`pwndbg.net` --- pwndbg.net
|
||||
:mod:`pwndbg.lib.net` --- pwndbg.lib.net
|
||||
=============================================
|
||||
|
||||
.. automodule:: pwndbg.net
|
||||
.. automodule:: pwndbg.lib.net
|
||||
:members:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue