Hamas says their goal is a Palestinian state based on the 1967 borders in their charter.
...
At least if you lie about what they say.
The Land of Palestine
2. Palestine, which extends from the River Jordan in the east to the Mediterranean in the west and from Ras al-Naqurah in the north to Umm al-Rashrash in the south, is an integral territorial unit. It is the land and the home of the Palestinian people. The expulsion and banishment of the Palestinian people from their land and the establishment of the Zionist entity therein do not annul the right of the Palestinian people to their entire land and do not entrench any rights therein for the usurping Zionist entity.
3. Palestine is an Arab Islamic land. It is a blessed sacred land that has a special place in the heart of every Arab and every Muslim.
...
Jerusalem
10. Jerusalem is the capital of Palestine. Its religious, historic and civilisational status is fundamental to the Arabs, Muslims and the world at large. Its Islamic and Christian holy places belong exclusively to the Palestinian people and to the Arab and Islamic Ummah
. Not one stone of Jerusalem can be surrendered or relinquished. The measures undertaken by the occupiers in Jerusalem, such as Judaisation, settlement building, and establishing facts on the ground are fundamentally null and void.
11. The blessed al-Aqsa Mosque belongs exclusively to our people and our Ummah, and the occupation has no right to it whatsoever. The occupation’s plots, measures and attempts to judaize al-Aqsa and divide it are null, void and illegitimate.
...
The position toward Occupation and political solutions
18. The following are considered null and void: the Balfour Declaration, the British Mandate Document, the UN Palestine Partition Resolution, and whatever resolutions and measures that derive from them or are similar to them.
The establishment of “Israel” is entirely illegal and contravenes the inalienable rights of the Palestinian people and goes against their will and the will of the Ummah; it is also in violation of human rights that are guaranteed by international conventions, foremost among them is the right to self-determination.
...
25. Resisting the occupation with all means and methods is a legitimate right guaranteed by divine laws and by international norms and laws.
At the heart of these lies armed resistance, which is regarded as the strategic choice for protecting the principles and the rights of the Palestinian people.