Hacking Secret Ciphers with Python

Author: Al Sweigart
Publisher: Createspace Independent Pub
ISBN: 1482614375
Release Date: 2013-04-01
Genre: Computers

Hacking Secret Ciphers with Python not only teaches you how to write in secret ciphers with paper and pencil. This book teaches you how to write your own cipher programs and also the hacking programs that can break the encrypted messages from these ciphers. Unfortunately, the programs in this book won't get the reader in trouble with the law (or rather, fortunately) but it is a guide on the basics of both cryptography and the Python programming language. Instead of presenting a dull laundry list of concepts, this book provides the source code to several fun programming projects for adults and young adults.

Cracking Codes with Python

Author: Al Sweigart
Publisher: No Starch Press
ISBN: 9781593278694
Release Date: 2018-01-23
Genre: Computers

Learn how to program in Python while making and breaking ciphers—algorithms used to create and send secret messages! After a crash course in Python programming basics, you’ll learn to make, test, and hack programs that encrypt text with classical ciphers like the transposition cipher and Vigenère cipher. You’ll begin with simple programs for the reverse and Caesar ciphers and then work your way up to public key cryptography, the type of encryption used to secure today’s online transactions, including digital signatures, email, and Bitcoin. Each program includes the full code and a line-by-line explanation of how things work. By the end of the book, you’ll have learned how to code in Python and you’ll have the clever programs to prove it! You’ll also learn how to: - Combine loops, variables, and flow control statements into real working programs - Use dictionary files to instantly detect whether decrypted messages are valid English or gibberish - Create test programs to make sure that your code encrypts and decrypts correctly - Code (and hack!) a working example of the affine cipher, which uses modular arithmetic to encrypt a message - Break ciphers with techniques such as brute-force and frequency analysis There’s no better way to learn to code than to play with real programs. Cracking Codes with Python makes the learning fun!

Invent Your Own Computer Games with Python 4th Edition

Author: Al Sweigart
Publisher: No Starch Press
ISBN: 9781593277956
Release Date: 2017-01-10
Genre: Computers

Invent Your Own Computer Games with Python will teach you how to make computer games using the popular Python programming language—even if you’ve never programmed before! Begin by building classic games like Hangman, Guess the Number, and Tic-Tac-Toe, and then work your way up to more advanced games, like a text-based treasure hunting game and an animated collision-dodging game with sound effects. Along the way, you’ll learn key programming and math concepts that will help you take your game programming to the next level. Learn how to: *Combine loops, variables, and flow control statements into real working programs *Choose the right data structures for the job, such as lists, dictionaries, and tuples *Add graphics and animation to your games with the pygame module *Handle keyboard and mouse input *Program simple artificial intelligence so you can play against the computer *Use cryptography to convert text messages into secret code *Debug your programs and find common errors As you work through each game, you’ll build a solid foundation in Python and an understanding of computer science fundamentals. What new game will you create with the power of Python? The projects in this book are compatible with Python 3.

Automate the Boring Stuff with Python

Author: Al Sweigart
Publisher: No Starch Press
ISBN: 9781593276850
Release Date: 2015-04-14
Genre: Computers

If you’ve ever spent hours renaming files or updating hundreds of spreadsheet cells, you know how tedious tasks like these can be. But what if you could have your computer do them for you? In Automate the Boring Stuff with Python, you’ll learn how to use Python to write programs that do in minutes what would take you hours to do by hand—no prior programming experience required. Once you’ve mastered the basics of programming, you’ll create Python programs that effortlessly perform useful and impressive feats of automation to: –Search for text in a file or across multiple files –Create, update, move, and rename files and folders –Search the Web and download online content –Update and format data in Excel spreadsheets of any size –Split, merge, watermark, and encrypt PDFs –Send reminder emails and text notifications –Fill out online forms Step-by-step instructions walk you through each program, and practice projects at the end of each chapter challenge you to improve those programs and use your newfound skills to automate similar tasks. Don’t spend your time doing work a well-trained monkey could do. Even if you’ve never written a line of code, you can make your computer do the grunt work. Learn how in Automate the Boring Stuff with Python. Note: The programs in this book are written to run on Python 3.

Codes Ciphers and Secret Writing

Author: Martin Gardner
Publisher: Courier Corporation
ISBN: 9780486320311
Release Date: 2013-04-10
Genre: Games & Activities

Cipher and decipher codes: transposition and polyalphabetical ciphers, famous codes, typewriter and telephone codes, codes that use playing cards, knots, and swizzle sticks . . . even invisible writing and sending messages through space. 45 diagrams.

Hacking 2nd Edition

Author: Jon Erickson
Publisher: No Starch Press
ISBN: 9781593271442
Release Date: 2008
Genre: COMPUTERS

An introduction to hacking describes the techniques of computer hacking, covering such topics as stack-based overflows, format string exploits, network security, cryptographic attacks, and shellcode.

Scratch Programming Playground

Author: Al Sweigart
Publisher: No Starch Press
ISBN: 9781593277963
Release Date: 2016-09-16
Genre: Computers

Scratch, the colorful drag-and-drop programming language, is used by millions of first-time learners, and in Scratch Programming Playground, you’ll learn to program by making cool games. Get ready to destroy asteroids, shoot hoops, and slice and dice fruit! Each game includes easy-to-follow instructions, review questions, and creative coding challenges to make the game your own. Want to add more levels or a cheat code? No problem, just write some code. You’ll learn to make games like: –Maze Runner: escape the maze! –Snaaaaaake: gobble apples and avoid your own tail –Asteroid Breaker: smash space rocks –Fruit Slicer: a Fruit Ninja clone –Brick Breaker: a remake of Breakout, the brick-breaking classic –Platformer: a game inspired by Super Mario Bros. Learning how to program shouldn’t be dry and dreary. With Scratch Programming Playground, you’ll make a game of it! Uses Scratch 2

Mysterious Messages A History of Codes and Ciphers

Author: Gary Blackwood
Publisher: Penguin
ISBN: 1101151013
Release Date: 2009-10-29
Genre: Juvenile Nonfiction

History?s amazing secrets and codes?and how to crack them yourself. This fascinating look at history?s most mysterious messages is packed with puzzles to decode and ciphers that kids can use themselves. Here are the encrypted notes of Spartan warriors, the brilliant code-crackers of Elizabeth I, secret messages of the American Revolution, spy books of the Civil War, the famous Enigma Machine, and the Navajo code talkers. As computers change the way we communicate, codes today are more intriguing than ever. From invisible ink to the CIA, this exciting trip through history is a hands-on, interactive experience? so get cracking!

Sudoji

Author: Al Sweigart
Publisher: Createspace Independent Publishing Platform
ISBN: 1519798857
Release Date: 2015-12-12
Genre:

A book of 144 sudoku puzzles, ranging from easy to very hard. Any nine symbols can be used for a sudoku puzzle, so the puzzles in this book use emoji characters instead of numbers. Each puzzle blends the deductive logic of sudoku puzzles with the imagery of emoji characters.

Black Hat Python

Author: Justin Seitz
Publisher: No Starch Press
ISBN: 9781593275907
Release Date: 2014-12-14
Genre: Computers

In Black Hat Python, the latest from Justin Seitz (author of the best-selling Gray Hat Python), you’ll explore the darker side of Python’s capabilities—writing network sniffers, manipulating packets, infecting virtual machines, creating stealthy trojans, and more. You’ll learn how to: Create a trojan command-and-control using GitHubDetect sandboxing and automate com­mon malware tasks, like keylogging and screenshottingEscalate Windows privileges with creative process controlUse offensive memory forensics tricks to retrieve password hashes and inject shellcode into a virtual machineExtend the popular Burp Suite web-hacking toolAbuse Windows COM automation to perform a man-in-the-browser attackExfiltrate data from a network most sneakily Insider techniques and creative challenges throughout show you how to extend the hacks and how to write your own exploits. When it comes to offensive security, your ability to create powerful tools on the fly is indispensable. Learn how in Black Hat Python.

Text Processing in Python

Author: David Mertz
Publisher: Addison-Wesley Professional
ISBN: 0321112547
Release Date: 2003
Genre: Computers

bull; Demonstrates how Python is the perfect language for text-processing functions. bull; Provides practical pointers and tips that emphasize efficient, flexible, and maintainable approaches to text-processing challenges. bull; Helps programmers develop solutions for dealing with the increasing amounts of data with which we are all inundated.

The Mathematics of Secrets

Author: Joshua Holden
Publisher: Princeton University Press
ISBN: 9781400885626
Release Date: 2017-01-30
Genre: Computers

The Mathematics of Secrets takes readers on a fascinating tour of the mathematics behind cryptography—the science of sending secret messages. Most books about cryptography are organized historically, or around how codes and ciphers have been used, such as in government and military intelligence or bank transactions. Joshua Holden instead shows how mathematical principles underpin the ways that different codes and ciphers operate. Holden focuses on both code making and code breaking and he discusses the majority of ancient and modern ciphers currently known. Holden begins by looking at substitution ciphers, built by substituting one letter or block of letters for another. Explaining one of the simplest and historically well-known ciphers, the Caesar cipher, Holden establishes the key mathematical idea behind the cipher and discusses how to introduce flexibility and additional notation. Holden goes on to explore polyalphabetic substitution ciphers, transposition ciphers, including one developed by the Spartans, connections between ciphers and computer encryption, stream ciphers, and ciphers involving exponentiation. He also examines public-key ciphers, where the methods used to encrypt messages are public knowledge, and yet, intended recipients are still the only ones who are able to read the message. He concludes with a look at the future of ciphers and where cryptography might be headed. Only basic mathematics up to high school algebra is needed to understand and enjoy the book. With a plethora of historical anecdotes and real-world examples, The Mathematics of Secrets reveals the mathematics working stealthily in the science of coded messages.

Violent Python

Author: TJ O'Connor
Publisher: Newnes
ISBN: 9781597499644
Release Date: 2012-12-28
Genre: Computers

Violent Python shows you how to move from a theoretical understanding of offensive computing concepts to a practical implementation. Instead of relying on another attacker’s tools, this book will teach you to forge your own weapons using the Python programming language. This book demonstrates how to write Python scripts to automate large-scale network attacks, extract metadata, and investigate forensic artifacts. It also shows how to write code to intercept and analyze network traffic using Python, craft and spoof wireless frames to attack wireless and Bluetooth devices, and how to data-mine popular social media websites and evade modern anti-virus. Demonstrates how to write Python scripts to automate large-scale network attacks, extract metadata, and investigate forensic artifacts Write code to intercept and analyze network traffic using Python. Craft and spoof wireless frames to attack wireless and Bluetooth devices Data-mine popular social media websites and evade modern anti-virus

Crypto

Author: Steven Levy
Publisher: Penguin
ISBN: 9781101199466
Release Date: 2001-01-08
Genre: Computers

If you've ever made a secure purchase with your credit card over the Internet, then you have seen cryptography, or "crypto", in action. From Stephen Levy—the author who made "hackers" a household word—comes this account of a revolution that is already affecting every citizen in the twenty-first century. Crypto tells the inside story of how a group of "crypto rebels"—nerds and visionaries turned freedom fighters—teamed up with corporate interests to beat Big Brother and ensure our privacy on the Internet. Levy's history of one of the most controversial and important topics of the digital age reads like the best futuristic fiction.

Penetration Testing

Author: Georgia Weidman
Publisher: No Starch Press
ISBN: 9781593275648
Release Date: 2014-06-14
Genre: Computers

Penetration testers simulate cyber attacks to find security weaknesses in networks, operating systems, and applications. Information security experts worldwide use penetration techniques to evaluate enterprise defenses. In Penetration Testing, security expert, researcher, and trainer Georgia Weidman introduces you to the core skills and techniques that every pentester needs. Using a virtual machine–based lab that includes Kali Linux and vulnerable operating systems, you’ll run through a series of practical lessons with tools like Wireshark, Nmap, and Burp Suite. As you follow along with the labs and launch attacks, you’ll experience the key stages of an actual assessment—including information gathering, finding exploitable vulnerabilities, gaining access to systems, post exploitation, and more. Learn how to: * Crack passwords and wireless network keys with brute-forcing and wordlists * Test web applications for vulnerabilities * Use the Metasploit Framework to launch exploits and write your own Metasploit modules * Automate social-engineering attacks * Bypass antivirus software * Turn access to one machine into total control of the enterprise in the post exploitation phase You’ll even explore writing your own exploits. Then it’s on to mobile hacking—Weidman’s particular area of research—with her tool, the Smartphone Pentest Framework. With its collection of hands-on lessons that cover key tools and strategies, Penetration Testing is the introduction that every aspiring hacker needs.