"...A week or so back, there were reports of two Palestinians shot and their bodies hung from a crane because they were alleged to have co-operated with Israel...what legal due process exists in Gaza? "
-This didn't take place in Gaza. It was in Tulkarm in the West Bank where Israeli settlers have been deliberately causing chaos as part of the Israeli efforts at further colonisation and theft. The law there, such as it is, is Israeli Military Law therefore you might comprehend why summary justice might be the ultimate resort of a hard pressed population.
"what independent media, for example, operates in Gaza? "
Sue...have you really been paying no attention at all to events in Gaza? The answer to your question is: very few now as Israel has succeeded in murdering as many as it possibly can:
"The Committee to Protect Journalists says the Israel-Gaza war has "led to the deadliest month for journalists" since it started gathering data in 1992. Of 61 deaths of journalists and media workers CPJ has recorded as of Friday, 54 were Palestinian journalists, four were Israeli and three were Lebanese.
By comparison, according to CPJ, a total of 68 journalists and media workers were killed worldwide in all of 2022. "
-This has been the deadliest conflict ever for Journalists and there is no evidence at all that Hamas killed any of them. In nearly every case it has been Israel and in several their families were apparently targetted for death too:
If your answer to that is well it can't be true because well..." Hamas said it... "Reporters Without Borders (RSF) organisation say they have been systematically and deliberately targetted by Israel in Lebanon likewise ( i.e. No Hamas...at all) :
-You might ask why Israel is apparently targeting journalists...the answer might be the same one as when journalists are targeted anywhere: because they want you to remain in a state ignorance over what they are actually up to.
On that "clear blue water " consider that it might be more murky and that you may be misinformed: there is after all a multi billion industry working on achieving just that.