Results 1 to 4 of 4
  1. #1
    ex0gen12345's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    2

    How could I turn this into an exploit?

    Code:
    		if PasswordValueEntry:GetValue() == Password1 or PasswordValueEntry:GetValue() == Password2 or PasswordValueEntry:GetValue() == Password3 or PasswordValueEntry:GetValue() == Password4 or PasswordValueEntry:GetValue() == Password5 or PasswordValueEntry:GetValue() == Password6 or PasswordValueEntry:GetValue() == Password7 or PasswordValueEntry:GetValue() == Password8 then
    			net.Start("CorrectPasswordEntered")
    				net.WriteEntity(door)
    			net.SendToServer()
    			-- surface.PlaySound("voices/password.mp3")
    		else
    			net.Start("IncorrectPasswordEntered")
    				net.WriteEntity(door)
    			net.SendToServer()
    			-- surface.PlaySound("voices/uncorrect.mp3")
    		end
    		Panel:Remove()
    	end
    end)
    Could this be possibly exploited? I was looking around on the files for a server (HogwartsRP) and saw some stuff that I think could be used to trick the server into believing the player has gotten the password for the various "Passages" around the map when they haven't.

  2. #2
    eth0s's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    188
    Reputation
    10
    Thanks
    1,887
    Probably, first you might wanna get the entity of the door
    look at the door and try this script

    Code:
    local door = LocalPlayer():GetEyeTrace().Entity
    net.Start("CorrectPasswordEntered")
    net.WriteEntity(door)
    net.SendToServer()

  3. #3
    ex0gen12345's Avatar
    Join Date
    Apr 2016
    Gender
    male
    Posts
    15
    Reputation
    10
    Thanks
    2
    Quote Originally Posted by eth0s View Post
    Probably, first you might wanna get the entity of the door
    look at the door and try this script

    Code:
    local door = LocalPlayer():GetEyeTrace().Entity
    net.Start("CorrectPasswordEntered")
    net.WriteEntity(door)
    net.SendToServer()
    Hmm, i'll try that.


    Edit:

    It appears to be "teleport" or "teleporter" , I think this is because they are multiple instances of the entity with their own files.

    So like, it'd be "Teleporter 1" then "Teleporter 2" which goes on until the number 11.
    Last edited by ex0gen12345; 04-27-2016 at 01:54 PM.

  4. #4
    Hunter's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Location
    Depths Of My Mind.
    Posts
    17,468
    Reputation
    3771
    Thanks
    6,159
    My Mood
    Cheerful
    1 week has passed and no further replies have been made by the OP. Assuming solved.

    /Closed.

Similar Threads

  1. [18+] Turn this into rap and take my origin acc [simple]
    By Default in forum General
    Replies: 0
    Last Post: 11-12-2015, 11:16 AM
  2. [Request] Could someone turn this code into a injectable DLL?
    By diego9972 in forum Call of Duty Black Ops 2 Coding, Programming & Source Code
    Replies: 8
    Last Post: 10-19-2014, 05:27 PM
  3. Replies: 8
    Last Post: 07-10-2014, 06:22 PM
  4. [Help Request] Hey How could i do this does anyone know
    By thunderdayz in forum DayZ Help & Requests
    Replies: 2
    Last Post: 04-25-2013, 05:00 AM
  5. [Help Request] how could i make this happen
    By The Real Red in forum C# Programming
    Replies: 5
    Last Post: 04-25-2013, 04:28 AM