تقييم الموضوع :
  • 1 أصوات - بمعدل 5
  • 1
  • 2
  • 3
  • 4
  • 5
[سؤال] كيف احمي الكود سورس
#3
(12-10-14, 03:01 AM)hitman48 كتب : تفضل اخي الكريم ان كنت تريد حماية برنامجك من الكسر:

تقوم بانشاء مجروع جديد في [ vb.net ] و نضيف [ Module ] و نضيف الاكواد التالية



نذهب الآن الى [ Form1_Load ] و نقوم باستدعاء الاكواد عبر [ Call Protect() ]

و انتهينا ، تمت حماية مشروعك من :
[ CurrPorts ’ Fiddler ’ SimpleAssemblyExplorer ’ Reflector ’ HxD ’ Ollydb ’ Microsoft Spy ++ ’ TCPEye ’ Process Explorer ]

الاكواد المستعملة في الشرح :



كود :
Module OPq
' [SeC_FRAROUKi]
    Sub Protect()
        Dim TargetProcess1() As Process = Process.GetProcessesByName("Fiddler")
        Dim TargetProcess2() As Process = Process.GetProcessesByName("SimpleAssemblyExplorer")
        Dim TargetProcess3() As Process = Process.GetProcessesByName("Reflector")
        Dim TargetProcess4() As Process = Process.GetProcessesByName("HxD")
        Dim TargetProcess5() As Process = Process.GetProcessesByName("Ollydb")
        Dim TargetProcess6() As Process = Process.GetProcessesByName("taskmgr")
        Dim TargetProcess7() As Process = Process.GetProcessesByName("sptxx")
        Dim TargetProcess8() As Process = Process.GetProcessesByName("tcpeye")
        Dim TargetProcess9() As Process = Process.GetProcessesByName("procexp")
        Dim TargetProcess10() As Process = Process.GetProcessesByName("cports")

        If Not TargetProcess10.Length = 0 Then
            TargetProcess10(0).Kill()
            MsgBox("CurrPorts Detected!", MsgBoxStyle.Critical, "^_^")

        End If
        If Not TargetProcess1.Length = 0 Then
            TargetProcess1(0).Kill()
            MsgBox("Fiddler Detected!", MsgBoxStyle.Critical, "^_^")

        End If


        If Not TargetProcess2.Length = 0 Then
            TargetProcess2(0).Kill()
            MsgBox("SimpleAssemblyExplorer Detected!", MsgBoxStyle.Critical, "^_^")

        End If

        If Not TargetProcess3.Length = 0 Then
            TargetProcess3(0).Kill()
            MsgBox("Reflector Detected!", MsgBoxStyle.Critical, "^_^")

        End If

        If Not TargetProcess4.Length = 0 Then
            TargetProcess4(0).Kill()
            MsgBox("HxD Detected!", MsgBoxStyle.Critical, "^_^")

        End If

        If Not TargetProcess5.Length = 0 Then
            TargetProcess5(0).Kill()
            MsgBox("Ollydb Detected!", MsgBoxStyle.Critical, "^_^")
        End If
        If Not TargetProcess6.Length = 0 Then
            TargetProcess6(0).Kill()
            MsgBox("Windows Task Manager Detected!", MsgBoxStyle.Critical, "^_^")

        End If
        If Not TargetProcess7.Length = 0 Then
            TargetProcess7(0).Kill()
            MsgBox("Microsoft Spy ++ Detected!", MsgBoxStyle.Critical, "^_^")

        End If
        If Not TargetProcess8.Length = 0 Then
            TargetProcess8(0).Kill()
            MsgBox("TCPEye  Detected!", MsgBoxStyle.Critical, "^_^")

        End If
        If Not TargetProcess9.Length = 0 Then
            TargetProcess9(0).Kill()
            MsgBox("Process Explorer  Detected!", MsgBoxStyle.Critical, "^_^")

        End If
    End Sub

كود الاستدعاء في Form1_Load



كود :
Call Protect()


اما ان كنت تريد ان يعمل برنامجك في حاسوبك فقط وذالك عن طريق الهارد ديسك

اولا تحتاج الى textbox و button


2/ نكتب الكود التالي فيbutton :


كود :
TextBox1.Text = My.Computer.Info.TotalPhysicalMemory & My.Computer.Info.TotalVirtualMemory


الان وصلنا للحماية نكتب الكود التالي :


كود :
If My.Computer.Info.TotalPhysicalMemory & My.Computer.Info.TotalVirtualMemory = "Hard dick هنــا رقــم" Then
Form2.Show()
Else
Form3.Show()
End If

الله يعطيك العافيه | شكلك تعبت على الرد ههههههههههههه
الرد }}}
تم الشكر بواسطة: hitman48


الردود في هذا الموضوع
كيف احمي الكود سورس - بواسطة hassan - 11-10-14, 07:40 PM
RE: كيف احمي الكود سورس - بواسطة hitman48 - 12-10-14, 03:01 AM
RE: كيف احمي الكود سورس - بواسطة hassan - 12-10-14, 03:19 AM
RE: كيف احمي الكود سورس - بواسطة hitman48 - 12-10-14, 03:46 PM
RE: كيف احمي الكود سورس - بواسطة سعود - 15-10-14, 12:06 AM
RE: كيف احمي الكود سورس - بواسطة hassan - 15-10-14, 12:39 AM
RE: كيف احمي الكود سورس - بواسطة سعود - 15-10-14, 12:49 AM
RE: كيف احمي الكود سورس - بواسطة hassan - 15-10-14, 01:07 AM
RE: كيف احمي الكود سورس - بواسطة alktab - 15-10-14, 01:13 AM
RE: كيف احمي الكود سورس - بواسطة hitman48 - 15-10-14, 08:27 PM

المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
Information [VB.NET] مطلوب سورس برنامج من سيربح المليون بدر إشتية 7 6,730 30-11-25, 07:22 AM
آخر رد: Mr_limo
Information ما هو الخطاء في الكود ProgressBar1 Mostafa201255411 1 200 26-11-25, 08:19 PM
آخر رد: asmarsou
  [VB.NET] مساعدة تعديل على الكود ZEEN4ZEEN 2 219 08-10-25, 02:20 PM
آخر رد: salamandal
Rainbow [كود] تصحيح الخطاء في الكود محمد مسافر 2 1,055 28-08-25, 09:13 AM
آخر رد: محمد مسافر
Rainbow [كود] تصحيح الخطاء في الكود محمد مسافر 0 848 27-08-25, 04:05 PM
آخر رد: محمد مسافر
  ما هو الخطأ فى هذا الكود خالد كامل1 10 1,198 28-05-25, 09:16 PM
آخر رد: خالد كامل1
  ارجو تعديل الكود بواستطة الاجراء المخزن new_programer 3 684 03-04-25, 02:44 PM
آخر رد: princelovelorn
  مساعدة في تحويل الكود من فيجوال بسيك 6 الى فيجوال دوت نت سيد أحمد 5 829 23-03-25, 10:54 PM
آخر رد: سيد أحمد
  ارجو تعديل الكود جلب البيانات عن طريق اجراء مخزن - مرفق مثال new_programer 0 626 05-02-25, 01:51 AM
آخر رد: new_programer
  ارجو تقيم الكود المرفق - جلب اعلي رقم لتسلسل نصي للباركود new_programer 4 616 30-01-25, 08:26 AM
آخر رد: new_programer

التنقل السريع :


يقوم بقرائة الموضوع: