Questions tagged [spoof]
44 questions
101
votes
10 answers
Disable / Check for Mock Location (prevent gps spoofing)
Looking to find the best way to prevent / detect GPS spoofing on Android. Any suggestions on how this is accomplished, and what can be done to stop it? I am guessing the user has to turn on mock locations to spoof GPS, if this is done, then they can…

Chrispix
- 17,941
- 20
- 62
- 70
15
votes
2 answers
Spoofing / faking screen-resolution?
While browsing the web, I need to fake my screen resolution to websites I'm viewing but keep my viewport the same (Chrome's or FF's emulating doesn't solve my problem).
For instance, if I go to http://www.whatismyscreenresolution.com/ from a browser…

Poky
- 151
- 1
- 1
- 5
8
votes
2 answers
Is possible to spoof user-agent and OS with Chrome?
What are the options to block the methods bellow with Chrome?
navigator.appVersion
Info os.name
as I was successfully profiled in
http://browserspy.dk/browser.php
I´d like to hide Browser and OS in order to avoid exploits.

Deep Blue
- 81
- 1
- 1
- 2
8
votes
5 answers
How to detect browser spoofing and robots from a user agent string in php
So far I am able to detect robots from a list of user agent string by matching these strings to known user agents, but I was wondering what other methods there are to do this using php as I am retrieving fewer bots than expected using this method.
I…

user1422508
- 99
- 1
- 2
- 6
6
votes
1 answer
Spoof or fake location on Android phone
I've been trying to get this to work for a few days without success. Basically, I'm writing a small test app to make the phone report it's position as somewhere else using addTestProvider and setTestProviderLocation etc. Basically it looks fine…

m0thman
- 61
- 1
- 1
- 2
5
votes
1 answer
Is it possible to spoof IP behind NAT?
Is it possible to spoof the source IP if I'm behind a router that is using NAT?
If not, how do botnet programmers manage to make a SYN flood from their slaves? Don't most home/business networks use NAT?

shuwo
- 103
- 4
4
votes
2 answers
Can Request.UserHostAddress.ToString() be spoofed ? asp.net 4.0 - iis 7.5
I am getting the visitors ip with this method Request.UserHostAddress.ToString()
Are there any chance that it can be spoofed or used for sql injection. What are the risks and possibilities. thank you.
asp.net 4.0 , c# 4.0 , IIS 7.5

Furkan Gözükara
- 22,964
- 77
- 205
- 342
4
votes
3 answers
prevent API "spoofing" or "hacking"
I have created this web app and I created have this API. For the sake of this example, let's keep it simple:
My app needs to know how many "credits" the user has.
The api has a call get_credits that returns { credits: 1000 }
Now, how do I prevent…

nizzle
- 1,036
- 2
- 10
- 23
4
votes
1 answer
C# accessing iPhone built webpages
I am trying to accessing webpages in C# which are built specifically for iPhones. I have discovered that you can spoof the user agent to be "Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0…

mike
- 3,146
- 5
- 32
- 46
3
votes
2 answers
Why do the 2 strings print the same value when I assigned them different values?
void
got_packet(u_char *args, const struct pcap_pkthdr *header, const u_char *packet)
{
static int count = 1; /* packet counter */
/* declare pointers to packet headers */
const struct sniff_ethernet *ethernet; /* The ethernet…

homes
- 265
- 1
- 3
- 12
3
votes
1 answer
spoof from address through gmail
I am trying to send a spoofed email using gmail. before people freak out, no I am not spamming anybody (if you have to know why, an explanation is below). Using this question and answer, I was able to send a test email to myself with a spoofed to…

ewok
- 20,148
- 51
- 149
- 254
3
votes
1 answer
Behavior of Spoof MAC Address communication
I am programming with Python and his partner Scapy. I am facing a situation that i dont know if it is a normal behavior from ARP Protocol or some another problem.
I have this scenario:
1- A vm machine (1) sending an "ARP Request" to another vm…

StarkBR
- 227
- 8
- 15
2
votes
1 answer
Spoof JS Objects
I've been wondering if there is a way to spoof JS objects like navigator, screen, etc. to send fake data whenever a page request it.
I use C# to develop an application which contains a GeckoFx browser and I want to do something like this: every…

Ionut Ungureanu
- 380
- 3
- 9
- 25
2
votes
1 answer
How do I use cURL & PHP to spoof the referrer?
I'm trying to learn cURL with PHP to spoof the referrer to a website.
With the following script I expected to accomplish this...but it seems to not work.
Any ideas/suggestion where I am going wrong??
Or do you know of any tutorials that could help…

Jessica Taylor
- 43
- 2
- 7
2
votes
1 answer
Why is it allowed to modify argv[0]?
I have been working on a project that uses PIDs, /proc and command line analysis to validate processes on a system. My code had to be checked by the security guys who manage to break it with a single line... embarrassing!
#!/usr/bin/env perl
$0="I…

urban
- 5,392
- 3
- 19
- 45