Skip to Content
Penetration Testing: A Survival Guide
book

Penetration Testing: A Survival Guide

by Wolf Halton, Bo Weaver, Juned Ahmed Ansari, Srinivasa Rao Kotipalli, Mohammed A. Imran
January 2017
Beginner to intermediate
1045 pages
22h 24m
English
Packt Publishing
Content preview from Penetration Testing: A Survival Guide

Working with Boolean logic

Computer programs are made up data structures which use conditions and decisions that 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:

  • 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 preceding image is a diagram of a set of nested If structures

    Boolean Operators

     

    Notation

    Description

    X == Y

    X is equivalent to Y. This is not always a numeric value set

    X != Y

    X is not equivalent to Y

    X <= Y

    X is smaller than OR equivalent of Y

    X >= Y

    X is greater than or equivalent ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Penetration Testing

Penetration Testing

Georgia Weidman
Penetration Testing

Penetration Testing

James Hayes, Nick Furneaux, Jims Marchang, Rob Ellis, Jason Charalambous, Moinuddin Zaki, Peter Taylor, Roderick Douglas, Felix Ryan, Ceri Charlton, Gemma Moore, Tylor Robinson, Sharif Gardner

Publisher Resources

ISBN: 9781787287839Purchase Link