示例#1
0
文件: RFCrack.py 项目: yaba/RFCrack
    attacks.rollingCode(d, rf_settings, args.rolling_code,
                        args.jamming_variance)

if args.known_scanner and not args.compare:
    print(
        "For a custom list use the -z option in the format -f 433000000 314000000 390000000"
    )
    findDevices.searchKnownFreqs(d, args.list)

if args.brute_scanner:
    if args.increment_value == None:
        print(
            "Bruteforcing requires -v argument for an incrementing inteval value Example: 500000"
        )
    else:
        findDevices.bruteForceFreq(d, rf_settings, args.increment_value)

if args.jammer:
    j = jam.setupJammer(0, rf_settings)
    jam.jamming(j, "start", rf_settings, args.rolling_code)

if args.instant_replay:
    attacks.replayLiveCapture(d, args.rolling_code, rf_settings)

if args.send:
    if args.uploaded_payload == None:
        print(
            "Send requires -u argument for an upload file path  Example: ./captures/payload.cap"
        )
    else:
        attacks.replaySavedCapture(d, args.uploaded_payload)
示例#2
0
                        args.baud_rate_jammer, args.rolling_code,
                        args.upper_rssi, args.lower_rssi)

if args.known_scanner:
    print(
        "For a custom list use the -z option in the format -f 433000000 314000000 390000000"
    )
    findDevices.searchKnownFreqs(d, args.freq_list)

if args.brute_scanner:
    if args.increment_value == None:
        print(
            "Bruteforcing requires -v argument for an incrementing inteval value Example: 500000"
        )
    else:
        findDevices.bruteForceFreq(d, args.frequency, args.increment_value)

if args.jammer:
    j = jam.setupJammer(0, args.baud_rate_jammer)
    jam.jamming(j, "start", args.frequency, args.rolling_code)

if args.instant_replay:
    attacks.replayLiveCapture(d, args.rolling_code, args.upper_rssi,
                              args.lower_rssi)

if args.send:
    if args.uploaded_payload == None:
        print(
            "Send requires -u argument for an upload file path  Example: ./files/payload.cap"
        )
    else: