mirror of https://github.com/n1nj4sec/pupy.git
Treat .so like dll in dependencies
This commit is contained in:
parent
128666a1e0
commit
b9a59da95b
|
@ -114,7 +114,7 @@ class PupyModule(object):
|
||||||
dependencies = self.dependencies
|
dependencies = self.dependencies
|
||||||
|
|
||||||
for d in dependencies:
|
for d in dependencies:
|
||||||
if d.lower().endswith('.dll'):
|
if d.lower().endswith(('.dll', '.so')):
|
||||||
self.client.load_dll(d)
|
self.client.load_dll(d)
|
||||||
else:
|
else:
|
||||||
self.client.load_package(d)
|
self.client.load_package(d)
|
||||||
|
|
Loading…
Reference in New Issue