DNS spoofing in Kali Linux [duplicate]
Clash Royale CLAN TAG#URR8PPP
up vote
-6
down vote
favorite
This question already has an answer here:
Why is Kali Linux so hard to set up? Why won't people help me?
5 answers
I'm trying to learn some stuff about DNSspoofing, but it didn't work well for me. Here's what i have done. step 1 : turn my NIC into promisc mode using the following command
ifconfig wlan0 promisc
step 2 : make a hosts file for dnsspoof named : /usr/share/dsniff/dnsspoof.hosts (this is suggested in the man page of dnsspoof ) here's what's i typed inside the file
github.com 192.168.1.102
*.github.com 192.168.1.102
www.github.com 192.168.1.102
step 3: run dnsspod with the following command
dnsspoof -i wlan0 -f /usr/share/dsniff/dnsspoof.hosts
then i get this output :
everything seems okay to me, but whenever i tried visiting github from my machine or other machine in my network, it didn't go to the given adress 192.168.1.102
linux networking kali-linux dns spoofing
marked as duplicate by Ipor Sircer, Stephen Harris, Rui F Ribeiro
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Sep 8 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
-6
down vote
favorite
This question already has an answer here:
Why is Kali Linux so hard to set up? Why won't people help me?
5 answers
I'm trying to learn some stuff about DNSspoofing, but it didn't work well for me. Here's what i have done. step 1 : turn my NIC into promisc mode using the following command
ifconfig wlan0 promisc
step 2 : make a hosts file for dnsspoof named : /usr/share/dsniff/dnsspoof.hosts (this is suggested in the man page of dnsspoof ) here's what's i typed inside the file
github.com 192.168.1.102
*.github.com 192.168.1.102
www.github.com 192.168.1.102
step 3: run dnsspod with the following command
dnsspoof -i wlan0 -f /usr/share/dsniff/dnsspoof.hosts
then i get this output :
everything seems okay to me, but whenever i tried visiting github from my machine or other machine in my network, it didn't go to the given adress 192.168.1.102
linux networking kali-linux dns spoofing
marked as duplicate by Ipor Sircer, Stephen Harris, Rui F Ribeiro
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Sep 8 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
up vote
-6
down vote
favorite
up vote
-6
down vote
favorite
This question already has an answer here:
Why is Kali Linux so hard to set up? Why won't people help me?
5 answers
I'm trying to learn some stuff about DNSspoofing, but it didn't work well for me. Here's what i have done. step 1 : turn my NIC into promisc mode using the following command
ifconfig wlan0 promisc
step 2 : make a hosts file for dnsspoof named : /usr/share/dsniff/dnsspoof.hosts (this is suggested in the man page of dnsspoof ) here's what's i typed inside the file
github.com 192.168.1.102
*.github.com 192.168.1.102
www.github.com 192.168.1.102
step 3: run dnsspod with the following command
dnsspoof -i wlan0 -f /usr/share/dsniff/dnsspoof.hosts
then i get this output :
everything seems okay to me, but whenever i tried visiting github from my machine or other machine in my network, it didn't go to the given adress 192.168.1.102
linux networking kali-linux dns spoofing
This question already has an answer here:
Why is Kali Linux so hard to set up? Why won't people help me?
5 answers
I'm trying to learn some stuff about DNSspoofing, but it didn't work well for me. Here's what i have done. step 1 : turn my NIC into promisc mode using the following command
ifconfig wlan0 promisc
step 2 : make a hosts file for dnsspoof named : /usr/share/dsniff/dnsspoof.hosts (this is suggested in the man page of dnsspoof ) here's what's i typed inside the file
github.com 192.168.1.102
*.github.com 192.168.1.102
www.github.com 192.168.1.102
step 3: run dnsspod with the following command
dnsspoof -i wlan0 -f /usr/share/dsniff/dnsspoof.hosts
then i get this output :
everything seems okay to me, but whenever i tried visiting github from my machine or other machine in my network, it didn't go to the given adress 192.168.1.102
This question already has an answer here:
Why is Kali Linux so hard to set up? Why won't people help me?
5 answers
linux networking kali-linux dns spoofing
linux networking kali-linux dns spoofing
asked Sep 8 at 11:35
ablil98
1
1
marked as duplicate by Ipor Sircer, Stephen Harris, Rui F Ribeiro
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Sep 8 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by Ipor Sircer, Stephen Harris, Rui F Ribeiro
StackExchange.ready(function()
if (StackExchange.options.isMobile) return;
$('.dupe-hammer-message-hover:not(.hover-bound)').each(function()
var $hover = $(this).addClass('hover-bound'),
$msg = $hover.siblings('.dupe-hammer-message');
$hover.hover(
function()
$hover.showInfoMessage('',
messageElement: $msg.clone().show(),
transient: false,
position: my: 'bottom left', at: 'top center', offsetTop: -7 ,
dismissable: false,
relativeToBody: true
);
,
function()
StackExchange.helpers.removeMessages();
);
);
);
Sep 8 at 13:58
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
Your dnsspoof.hosts
file is wrong. Read the man page again - it says quite clearly it needs to be in hosts
format
Specify the pathname of a file in
hosts
(5) format. Only one hostname allowed per line (no aliases), although hostnames may contain wildcards (such as*.doubleclick.net
).
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
Your dnsspoof.hosts
file is wrong. Read the man page again - it says quite clearly it needs to be in hosts
format
Specify the pathname of a file in
hosts
(5) format. Only one hostname allowed per line (no aliases), although hostnames may contain wildcards (such as*.doubleclick.net
).
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
add a comment |Â
up vote
1
down vote
Your dnsspoof.hosts
file is wrong. Read the man page again - it says quite clearly it needs to be in hosts
format
Specify the pathname of a file in
hosts
(5) format. Only one hostname allowed per line (no aliases), although hostnames may contain wildcards (such as*.doubleclick.net
).
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
add a comment |Â
up vote
1
down vote
up vote
1
down vote
Your dnsspoof.hosts
file is wrong. Read the man page again - it says quite clearly it needs to be in hosts
format
Specify the pathname of a file in
hosts
(5) format. Only one hostname allowed per line (no aliases), although hostnames may contain wildcards (such as*.doubleclick.net
).
Your dnsspoof.hosts
file is wrong. Read the man page again - it says quite clearly it needs to be in hosts
format
Specify the pathname of a file in
hosts
(5) format. Only one hostname allowed per line (no aliases), although hostnames may contain wildcards (such as*.doubleclick.net
).
answered Sep 8 at 13:54
roaima
40.6k547110
40.6k547110
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
add a comment |Â
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
i tried using the hosts file of the system /etc/hosts, but i get an error: INVALID ENTRY
â ablil98
Sep 8 at 17:54
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
Then you have an invalid entry. Perhaps if you'd care to share the entry that's at fault...?
â roaima
Sep 8 at 18:07
add a comment |Â