Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Kali Linux 2018: Windows Penetration Testing

You're reading from   Kali Linux 2018: Windows Penetration Testing Conduct network testing, surveillance, and pen testing on MS Windows using Kali Linux 2018

Arrow left icon
Product type Paperback
Published in Oct 2018
Publisher
ISBN-13 9781788997461
Length 404 pages
Edition 2nd Edition
Arrow right icon
Authors (2):
Arrow left icon
Wolf Halton Wolf Halton
Author Profile Icon Wolf Halton
Wolf Halton
Bo Weaver Bo Weaver
Author Profile Icon Bo Weaver
Bo Weaver
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Choosing Your Distro FREE CHAPTER 2. Sharpening the Saw 3. Information Gathering and Vulnerability Assessments 4. Sniffing and Spoofing 5. Password Attacks 6. NetBIOS Name Service and LLMNR - Obsolete but Still Deadly 7. Gaining Access 8. Windows Privilege Escalation and Maintaining Access 9. Maintaining Access on Server or Desktop 10. Reverse Engineering and Stress Testing 11. Other Books You May Enjoy

Working with Boolean logic

Computer programs are made up data structures that use conditions and decisions to bring the desired outputs. We will use Python notation here, as it is simple, and you may have seen it before. The basic data structures are as follows.

  • Iterators such as while loops and for loops. An iterator loops as many times as it is told to, running other commands each time it goes around.
  • Decision points such as if structures and case structures. The previous diagram is of a set of nested if structures.

Boolean operators

Notation

Description

Examples

X == Y

X is equivalent to Y.

This is not always a numeric value set.

"shirts" == "hats" evaluates to FALSE.

"shirts" == "shirts" evaluates to TRUE.

1 == 11 evaluates to FALSE.

11 == 11 evaluates to TRUE.

X != Y

X is not equivalent to Y.

&quot...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image