Hamas staged a "victory rally" on Thursday in Gaza, as the future of a three-day ceasefire remains uncertain.
Hundreds of Palestinians poured onto the streets of Gaza City, chanting support for "resistance" against Israel, an AFP reporter said.
Loudspeakers mounted by the roadside blared out Hamas victory songs as the crowd - most of them men but with some children dressed in combat fatigues and carrying toy guns - gathered in the square outside the parliament building.
A huge Palestinian flag hung behind a podium where speakers whipped up the crowd with chants of victory on the eve of the scheduled expiry of a 72-hour truce with Israel.
Most marchers carried the green flag of Hamas.
"We have won the military battle and with the permission of God we'll win the political battle," Hamas MP Mushir al-Masri told the crowd.
"Resistance, resistance, resistance!" chanted the demonstrators.
Four weeks of fighting between Islamist terrorists and Israel killed more than 1,880 Palestinians, roughly half of whom are terrorists according to the IDF. Hamas claims the majority were civilians.
One of the few women at the rally told AFP her home had been destroyed in the Israeli bombardment.
"I have come here today to tell the whole world we are with the resistance. We have only two options: dignity or death, so we chose dignity," she said, refusing to give her name and wearing a headscarf and a long dress.
Diplomatic efforts entered a final countdown in Cairo on Thursday as Egyptian mediators rushed to broker an extension to the ceasefire which is due to expire at 0500 GMT on Friday, shuttling between Israeli and Palestinian teams.
An Israeli official has said Israel would be prepared to prolong the ceasefire "unconditionally", but Hamas has denied that any agreement to extend the calm exists.