day one: guide to being a hacker
DON'T BE A CRACKER
print("Hello world!")
>>> 5+5*10
>>> irene = 100
>>> print(irene)
>>> irene = 200
>>> john = irene
>>> print(john)
variableName = value
The value on the right gets assigned to the variable on the left
ex num = 10
ex num == 10
>>> fred = "This is a string"
>>> print(fred)
>>> str = "world!"
>>> print("Hello " + str)
Create three variables containing your first name, last name, and age. Then print a string as a cohesive sentence using all three (either by using concatenation or placeholders)
Ex. "Hello, my name is John Headland and I'm 20 years old."
Create a list of pizza toppings of at least size 5. Print the message "My pizza has these toppings: " followed by the use of a slice to print the last three items of the list
Make a list of 3 people, living or deceased, that you would like to have dinner with. Then you realize your dinner table has grown in size! Append 2 more people to the list.
Darnell asked the manager about all of his store's physical logistics: its janitorial contractor, cafeteria food-services provider, employee pay cycle and staff shift schedules. He learned what time the managers take their breaks and where they usually go for lunch.
Keeping up a steady patter about the new project and life in Bentonville, Darnell got the manager to give up some key details about the type of PC he used. Darnell quickly found out the make and version numbers of the computer's operating system, Web browser and antivirus software.
Finally, Darnell directed the manager to an external website to fill out a survey to prep for the upcoming visit.
The manager dutifully plugged the address into his browser. His computer blocked the connection, but Darnell wasn't fazed. He said he'd call the IT department and have it unlocked.
After thanking the manager for his help, Darnell made plans to follow up the next day. The manager promised to send Darnell over a list of good hotels in the area.
Then "Gary Darnell" hung up and stepped out of the soundproof booth he had been in for the last 20 minutes.
"All flags! All flags!" he announced, throwing his arms up in a V-for-Victory symbol.
His audience of some 100 spectators at the Defcon conference in Las Vegas burst into applause. They had been listening to both sides of the call through a loudspeaker broadcast.