mirror of
https://github.com/Lissy93/web-check.git
synced 2025-06-19 19:28:00 +02:00
warning removed
This commit is contained in:
parent
abff9283dc
commit
af409245fb
@ -38,14 +38,14 @@ const UserInputMain = styled.form`
|
|||||||
z-index: 2;
|
z-index: 2;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const FindIpButton = styled.a`
|
// const FindIpButton = styled.a`
|
||||||
margin: 0.5rem;
|
// margin: 0.5rem;
|
||||||
cursor: pointer;
|
// cursor: pointer;
|
||||||
display: block;
|
// display: block;
|
||||||
text-align: center;
|
// text-align: center;
|
||||||
color: ${colors.primary};
|
// color: ${colors.primary};
|
||||||
text-decoration: underline;
|
// text-decoration: underline;
|
||||||
`;
|
// `;
|
||||||
|
|
||||||
const ErrorMessage = styled.p`
|
const ErrorMessage = styled.p`
|
||||||
color: ${colors.danger};
|
color: ${colors.danger};
|
||||||
@ -126,22 +126,22 @@ const Home = (): JSX.Element => {
|
|||||||
if (!isError) setErrMsg('');
|
if (!isError) setErrMsg('');
|
||||||
};
|
};
|
||||||
|
|
||||||
const findIpAddress = () => {
|
// const findIpAddress = () => {
|
||||||
setUserInput('');
|
// setUserInput('');
|
||||||
setPlaceholder('Looking up your IP...');
|
// setPlaceholder('Looking up your IP...');
|
||||||
setInputDisabled(true);
|
// setInputDisabled(true);
|
||||||
fetch('https://ipapi.co/json/')
|
// fetch('https://ipapi.co/json/')
|
||||||
.then(function(response) {
|
// .then(function(response) {
|
||||||
response.json().then(jsonData => {
|
// response.json().then(jsonData => {
|
||||||
setUserInput(jsonData.ip);
|
// setUserInput(jsonData.ip);
|
||||||
setPlaceholder(defaultPlaceholder);
|
// setPlaceholder(defaultPlaceholder);
|
||||||
setInputDisabled(true);
|
// setInputDisabled(true);
|
||||||
});
|
// });
|
||||||
})
|
// })
|
||||||
.catch(function(error) {
|
// .catch(function(error) {
|
||||||
console.log('Failed to get IP address :\'(', error)
|
// console.log('Failed to get IP address :\'(', error)
|
||||||
});
|
// });
|
||||||
};
|
// };
|
||||||
|
|
||||||
const formSubmitEvent = (event: FormEvent<HTMLFormElement>) => {
|
const formSubmitEvent = (event: FormEvent<HTMLFormElement>) => {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
|
@ -261,7 +261,7 @@ const docs: Doc[] = [
|
|||||||
id: "dnssec",
|
id: "dnssec",
|
||||||
title: "DNS Security Extensions",
|
title: "DNS Security Extensions",
|
||||||
description:
|
description:
|
||||||
"Without DNSSEC, it\'s possible for MITM attackers to spoof records and lead users to phishing sites. This is because the DNS system includes no built-in methods to verify that the response to the request was not forged, or that any other part of the process wasn’t interrupted by an attacker. The DNS Security Extensions (DNSSEC) secures DNS lookups by signing your DNS records using public keys, so browsers can detect if the response has been tampered with. Another solution to this issue is DoH (DNS over HTTPS) and DoT (DNS over TLD).",
|
"Without DNSSEC, it\"'s possible for MITM attackers to spoof records and lead users to phishing sites. This is because the DNS system includes no built-in methods to verify that the response to the request was not forged, or that any other part of the process wasn’t interrupted by an attacker. The DNS Security Extensions (DNSSEC) secures DNS lookups by signing your DNS records using public keys, so browsers can detect if the response has been tampered with. Another solution to this issue is DoH (DNS over HTTPS) and DoT (DNS over TLD).",
|
||||||
use: "DNSSEC information provides insight into an organization's level of cybersecurity maturity and potential vulnerabilities, particularly around DNS spoofing and cache poisoning. If no DNS secururity (DNSSEC, DoH, DoT, etc) is implemented, this may provide an entry point for an attacker.",
|
use: "DNSSEC information provides insight into an organization's level of cybersecurity maturity and potential vulnerabilities, particularly around DNS spoofing and cache poisoning. If no DNS secururity (DNSSEC, DoH, DoT, etc) is implemented, this may provide an entry point for an attacker.",
|
||||||
resources: [
|
resources: [
|
||||||
"https://dnssec-analyzer.verisignlabs.com/",
|
"https://dnssec-analyzer.verisignlabs.com/",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user