Commit 9ccb4c76 authored by Robert David Graham's avatar Robert David Graham
Browse files

spaces

parent 24f358df
Loading
Loading
Loading
Loading
+10 −10
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ banout_release(struct BannerOutput *banout)

/***************************************************************************
 ***************************************************************************/
struct BannerOutput *
static struct BannerOutput *
banout_find_proto(struct BannerOutput *banout, unsigned proto)
{
    while (banout && banout->protocol != proto)
@@ -102,7 +102,7 @@ banout_append_char(struct BannerOutput *banout, unsigned proto, int c)

/***************************************************************************
 ***************************************************************************/
struct BannerOutput *
static struct BannerOutput *
banout_new_proto(struct BannerOutput *banout, unsigned proto)
{
    struct BannerOutput *p;
@@ -124,7 +124,7 @@ banout_new_proto(struct BannerOutput *banout, unsigned proto)

/***************************************************************************
 ***************************************************************************/
struct BannerOutput *
static struct BannerOutput *
banout_expand(struct BannerOutput *banout, struct BannerOutput *p)
{
    struct BannerOutput *n;
+14 −8
Original line number Diff line number Diff line
/*

    This is a state-machine parser for the X.509 protocol. When scanning
    SSL targets with the --banner option, this will extract information
    from the certificate, especially the "subject common name"
 */
#include "proto-x509.h"
#include "proto-banout.h"
#include "masscan-app.h"
@@ -169,7 +175,7 @@ x509_init(void)

/****************************************************************************
 ****************************************************************************/
void
static void
push_remaining(struct CertDecode *x, unsigned next_state, uint64_t remaining)
{
    if ((remaining >> 16) != 0) {
@@ -196,7 +202,7 @@ push_remaining(struct CertDecode *x, unsigned next_state, uint64_t remaining)
    x->states[0] = (unsigned char)next_state;
    x->remainings_count++;
}
unsigned
static unsigned
pop_remaining(struct CertDecode *x)
{
    unsigned next_state;
@@ -243,7 +249,7 @@ enum X509state {

/****************************************************************************
 ****************************************************************************/
unsigned
static unsigned
kludge_next(unsigned state)
{
    switch (state) {
+16 −0
Original line number Diff line number Diff line
@@ -62,6 +62,9 @@
		11B039C717E7834000925E7E /* proto-dns.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B039C317E7834000925E7E /* proto-dns.c */; };
		11B039C817E7834000925E7E /* proto-udp.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B039C517E7834000925E7E /* proto-udp.c */; };
		11B039CB17EA092B00925E7E /* proto-snmp.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B039C917EA092B00925E7E /* proto-snmp.c */; };
		11B22ED518641DCC00DA5438 /* proto-banout.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B22ED018641DCC00DA5438 /* proto-banout.c */; };
		11B22ED618641DCC00DA5438 /* proto-ssl-test.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B22ED218641DCC00DA5438 /* proto-ssl-test.c */; };
		11B22ED718641DCC00DA5438 /* proto-x509.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B22ED318641DCC00DA5438 /* proto-x509.c */; };
		11B2DD9E17DE4DD8007FC363 /* templ-payloads.c in Sources */ = {isa = PBXBuildFile; fileRef = 11B2DD9C17DE4DD8007FC363 /* templ-payloads.c */; };
/* End PBXBuildFile section */

@@ -185,6 +188,11 @@
		11B039C617E7834000925E7E /* proto-udp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "proto-udp.h"; sourceTree = "<group>"; };
		11B039C917EA092B00925E7E /* proto-snmp.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "proto-snmp.c"; sourceTree = "<group>"; };
		11B039CA17EA092B00925E7E /* proto-snmp.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "proto-snmp.h"; sourceTree = "<group>"; };
		11B22ED018641DCC00DA5438 /* proto-banout.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "proto-banout.c"; sourceTree = "<group>"; };
		11B22ED118641DCC00DA5438 /* proto-banout.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "proto-banout.h"; sourceTree = "<group>"; };
		11B22ED218641DCC00DA5438 /* proto-ssl-test.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "proto-ssl-test.c"; sourceTree = "<group>"; };
		11B22ED318641DCC00DA5438 /* proto-x509.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "proto-x509.c"; sourceTree = "<group>"; };
		11B22ED418641DCC00DA5438 /* proto-x509.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "proto-x509.h"; sourceTree = "<group>"; };
		11B2DD9C17DE4DD8007FC363 /* templ-payloads.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "templ-payloads.c"; sourceTree = "<group>"; };
		11B2DD9D17DE4DD8007FC363 /* templ-payloads.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "templ-payloads.h"; sourceTree = "<group>"; };
/* End PBXFileReference section */
@@ -220,6 +228,11 @@
		11A9219217DBCC7E00DDFD32 /* src */ = {
			isa = PBXGroup;
			children = (
				11B22ED018641DCC00DA5438 /* proto-banout.c */,
				11B22ED118641DCC00DA5438 /* proto-banout.h */,
				11B22ED218641DCC00DA5438 /* proto-ssl-test.c */,
				11B22ED318641DCC00DA5438 /* proto-x509.c */,
				11B22ED418641DCC00DA5438 /* proto-x509.h */,
				11A8681C1819A6F7008E00B8 /* proto-zeroaccess.c */,
				11A8681D1819A6F7008E00B8 /* proto-zeroaccess.h */,
				11A868081816F3A7008E00B8 /* in-binary.c */,
@@ -438,6 +451,9 @@
				11A868191816F3A7008E00B8 /* pixie-file.c in Sources */,
				11A8681A1816F3A7008E00B8 /* siphash24.c in Sources */,
				11A8681E1819A6F7008E00B8 /* proto-zeroaccess.c in Sources */,
				11B22ED518641DCC00DA5438 /* proto-banout.c in Sources */,
				11B22ED618641DCC00DA5438 /* proto-ssl-test.c in Sources */,
				11B22ED718641DCC00DA5438 /* proto-x509.c in Sources */,
			);
			runOnlyForDeploymentPostprocessing = 0;
		};
+5 −5

File changed.

Contains only whitespace changes.

+18 −18

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+447 −447

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

+18 −18

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+58 −58

File changed.

Contains only whitespace changes.

+18 −18

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+63 −63

File changed.

Contains only whitespace changes.

+17 −17

File changed.

Contains only whitespace changes.

+8 −8

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+189 −189

File changed.

Contains only whitespace changes.

+35 −35

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+50 −50

File changed.

Contains only whitespace changes.

+53 −53

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+41 −41

File changed.

Contains only whitespace changes.

+84 −84

File changed.

Contains only whitespace changes.

+17 −17

File changed.

Contains only whitespace changes.

+37 −37

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+5 −5

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+637 −637

File changed.

Contains only whitespace changes.

+10 −10

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+7 −7

File changed.

Contains only whitespace changes.

+8 −8

File changed.

Contains only whitespace changes.

+706 −706

File changed.

Contains only whitespace changes.

+11 −11

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+2 −2

File changed.

Contains only whitespace changes.

+11 −11

File changed.

Contains only whitespace changes.

+124 −124

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+147 −147

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

Loading