mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
feat: support was and weblogic agent shell
This commit is contained in:
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
pid=""
|
||||
|
||||
if command -v ps &> /dev/null; then
|
||||
pid=$(ps -ef | grep weblogic | grep -v grep | awk '{print $2}')
|
||||
fi
|
||||
|
||||
if [ -z "$pid" ]; then
|
||||
pid=$(jps 2>/dev/null | grep " Server" | awk '{print $1}')
|
||||
fi
|
||||
|
||||
echo "$pid" | tr -d '\n'
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
ps -ef | grep WSLauncher | grep -v grep | awk '{print $2}' | tr -d '\n'
|
||||
Reference in New Issue
Block a user