mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-23 07:21:53 +08:00
feat: support script engine probe
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package com.reajason.javaweb.probe.payload;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
/**
|
||||
* @author ReaJason
|
||||
* @since 2025/11/18
|
||||
*/
|
||||
class ScriptEngineProbeTest {
|
||||
|
||||
@Test
|
||||
void test(){
|
||||
String hello = new ScriptEngineProbe("1 + 1").toString();
|
||||
assertEquals("2", hello);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user