Pattern for the file name
I am looking for the file name pattern to use it in the input validation.
I need the pattern that prevent me from XSS attacks.
Here I can find one pattern: https://www.owasp.org/index.php/OWASP_Validation_Regex_Repository
Collaborate Disseminate
I am looking for the file name pattern to use it in the input validation.
I need the pattern that prevent me from XSS attacks.
Here I can find one pattern: https://www.owasp.org/index.php/OWASP_Validation_Regex_Repository
What is the security problem to use Options FollowSymLinks in the Apache configuration?
We use the following configuration:
AllowOverride None
Options None FollowSymLinks
Continue reading What is the security problem of Options FollowSymLinks in the Apache configuration?
Following my troubleshooting of making a TLS connection (See: Testing TLS with openssl), it looks like there might be an active firewall in place.
The connection on that port works with nc on both sides (nc -l -p 8883 on the server, nc server.com 8883 on the client)
It even works if I manually send the binary preamble for making a TLS connection, but leave off the last byte (again, captured with nc -l -p 8883 | xxd). I think I see a delay…
Just incase I also checked if the connection is just being forced closed at 289 bytes, so I sent a lot of random text and it went through fine.
Sending the full TLS preamble results in nothing received at the server, and the connection closed. I tried adding some delay before the last byte, it goes through and the connection stays open!
What the heck is this and how do I phrase my request to the company IT to allow it? (we have a special APN set up with AT&T and I think that’s where it is)
I used nc -l -p 8883 to capture the TLS preamble from a successful connection attempt to the server from elsewhere (289 bytes)
0000000: 1603 0101 1c01 0001 1803 03f4 f363 0180
0000010: 3ce4 957f ee17 8b7f d8ef 9ce0 e608 1cac
0000020: d328 798d 8b10 cc7b b521 0....
...
0000120: 01
Then here’s the client command to reproduce it:
(head TLS1.hex -n18 | xxd -r; sleep 0.3; echo 0: 01 | xxd -r )
| nc server.com 8883 -q 1
I used to login into a certain website a couple of years ago. Recently I’ve got an email suggesting that I should renew my membership, and that email included my old password. That’s right, my old password was emailed to be v… Continue reading What can/should I do about gross lack of IT security at another company?
I want to improve the encryption flow used by my application.
Today I use the AES cipher while its key and its IvBuffer are hardcoded in the code.
I know it is not secured and I want to improve this.
I want to create a new AE… Continue reading Is it secured to store the encrypted key in the database (encrypted by other cipher)?
I have tried to understand CVE-1999-0524.
It is recommended to configure the firewall to prevent ICMP timestamp responses: https://access.redhat.com/security/cve/cve-1999-0524
What if I will not do it?
What is implication of ICMP timestamp… Continue reading What is implication of ICMP timestamp responses?
I have tried to understand CVE-1999-0524.
It is recommended to configure the firewall to prevent ICMP timestamp responses: https://access.redhat.com/security/cve/cve-1999-0524
What if I will not do it?
What is implication of … Continue reading What is implication of ICMP timestamp responses?
I know that salts protect against rainbow tables, and I also know that hashing a password a certain number of times increases the strength of encryption, with more times of hashing being better.
But are salts and hashes real… Continue reading Are salts and password hashing needed for random keys?
This question already has an answer here:
Encrypt and Authenticate localhost-traffic?
2 answers
Google is reportedly planning… Continue reading Is HTTP to localhost safe? [duplicate]
We have a website that authenticates the user using a certificate. The certificate is installed by the IT department and I can’t export it with the private key.
When I navigate the website with Chrome or MS Edge they prompt me to choose t… Continue reading Use Personal certificate without a key with Firefox