Example #1
0
def version(target):
    version_id.identify(target[0], target[1])
Example #2
0
def version(target):
    version_id.identify(target[0], target[1])
Example #3
0
        elif args.p is None:
            target = changetarget(False)

    # error case... should never go this route
    else:
        print("This case should never have been reached... 0x01")

    #####################################################################
    # Handle command-line functionality specification.                  #
    # Rather than using the menu, a user can specify functions to use   #
    # via commnad line args.  Here, we catch those args and run the     #
    # corresponding functions.                                          #
    #####################################################################
    # (-v) Version Detection #
    if args.v is True:
        version_id.identify(target[0], target[1])

    # (-b) Brute-Force Browsing #
    if args.b is True:
        bruteforcebrowsing(target)

    # (-p) Picker Enumeration #
    if args.pe is True:
        peopleenumeration(target)

    # (-u) UserID Enumeration #
    # TODO: Find a way to display these input options better, or allow users to do it form command line -u argument
    if args.u is True:
        useridenumeration(target)

    # Set Logging level (based on command line arg in the future
Example #4
0
        elif args.p is None:
            target = changetarget(False)

    # error case... should never go this route
    else:
        print("This case should never have been reached... 0x01")

    #####################################################################
    # Handle command-line functionality specification.                  #
    # Rather than using the menu, a user can specify functions to use   #
    # via commnad line args.  Here, we catch those args and run the     #
    # corresponding functions.                                          #
    #####################################################################
    # (-v) Version Detection #
    if args.v is True:
        version_id.identify(target[0], target[1])

    # (-b) Brute-Force Browsing #
    if args.b is True:
        bruteforcebrowsing(target)

    # (-p) Picker Enumeration #
    if args.pe is True:
        peopleenumeration(target)

    # (-u) UserID Enumeration #
    # TODO: Find a way to display these input options better, or allow users to do it form command line -u argument
    if args.u is True:
        useridenumeration(target)

    # Set Logging level (based on command line arg in the future