Giter Club home page Giter Club logo

rfcrack's People

Contributors

cclabsinc avatar crsarmv7l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rfcrack's Issues

Rolling Kali

Traceback (most recent call last):
File "RFCrack.py", line 2, in
from rflib import *
ImportError: No module named rflib

Incorporate HackRF for Jamming

Hi there,
Love the script, just wondering if you could incorporate the HackRF just for the jamming part, something like

hackrf_transfer -f (frequency_from_script) -a 1 -x 47 -c 127

install issues

When I try to run rfcat -r I get an import error: no module named usb. Any ideas?

hanging?

Hi, first off, thank you for this excellent script.
I kinda noticed that everytime i start using rfcrack my yardstick's green light refuses to switch off
therefore unable to access the device the second time & the only solution is to unplug'n'replug the stick
again?!

can't figure out whether its an issue with my os or rfcrack? but rfcat works just fine.
i'm running Debian testing.

Thx in adv.

PROBLEM SyntaxError: invalid syntax

root@kali:~/RFCrack# python RFCrack.py -j -F 433000000
Traceback (most recent call last):
File "RFCrack.py", line 7, in
import src.attacks as attacks
File "/root/RFCrack/src/attacks.py", line 3, in
import findDevices, jam, utilities
File "/root/RFCrack/src/utilities.py", line 4, in
import Clicker
File "/root/RFCrack/src/Clicker.py", line 1, in
import matplotlib.pyplot as plt
File "/usr/local/lib/python2.7/dist-packages/matplotlib/init.py", line 126, in
from . import cbook
File "/usr/local/lib/python2.7/dist-packages/matplotlib/cbook/init.py", line 34, in
import numpy as np
File "/usr/lib/python2.7/dist-packages/numpy/init.py", line 142, in
from . import core
File "/usr/lib/python2.7/dist-packages/numpy/core/init.py", line 95, in
from . import numeric
File "/usr/lib/python2.7/dist-packages/numpy/core/numeric.py", line 3095, in
from . import arrayprint
File "/usr/lib/python2.7/dist-packages/numpy/core/arrayprint.py", line 90
if threshold is not sys.maxsize
^
SyntaxError: invalid syntax

Live Signal Identification and Comparison (Use 2 Console Windows)

Hi! I need Your help.
I have this error:

root@nrs:~/rfcat/RFCrack# python RFCrack.py -c -u 3f87f1c03f8701fc380fe1c0380e01c07f0e03f87f0e03c0701e0380fe1c0780e -n
----------Start Signals In Press--------------
Percent Chance of Match for press is: 0.02
Percent Chance of Match for press is: 0.12
Percent Chance of Match for press is: 0.02
Percent Chance of Match for press is: 0.07
Percent Chance of Match for press is: 0.16
Percent Chance of Match for press is: 0.07
----------End Signals In Press------------
Traceback (most recent call last):
File "RFCrack.py", line 219, in
utilities.logTail(my_clicker)
File "/root/rfcat/RFCrack/src/utilities.py", line 29, in logTail
percent = my_clicker.liveClicks()
File "/root/rfcat/RFCrack/src/Clicker.py", line 57, in liveClicks
self.openImage('./imageOutput/LiveComparison.png')
File "/root/rfcat/RFCrack/src/Clicker.py", line 124, in openImage
subprocess.call([imageViewerFromCommandLine, path])
File "/usr/lib/python2.7/subprocess.py", line 172, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 394, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

Request

It will be possible to add a jamming script?

Start listen until a signal is detected or a specific cod then to automatically start jamming for 20 sec and then get back in listen mode or jamming when a signal is detected and then when the transmission stop the jamming stops.

Or using 2 Yardstick 1 for lisen for a signal and when is detected the second one to start jamming and when the signal end the jamming end .

Regarding the use of d.RFlisten() to receive data.

The data I transmitted can make the electric door work, but I use d.RFlisten() to receive the remote control signal of the electric door, which is difficult to read.Is it related to the baud rate? Is there a way to automatically recognize the baud rate?

Cannot Jam

Hi there, I am able to sniff and record signals with one Yardstick , but when I try to jam , I get the following error:

$ sudo python3 RFCrack.py -j -F 314980000
Starting Jamming on: 314980000
Traceback (most recent call last):
File "RFCrack.py", line 198, in
jam.jamming(j, "start", rf_settings, args.rolling_code)
File "/home/jammboy/RFCrack/RFCrack/src/jam.py", line 27, in jamming
j.setModeTX() # start transmitting
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_nic.py", line 127, in setModeTX
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_nic.py", line 119, in setRfMode
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_usb.py", line 616, in send
File "/usr/local/lib/python3.8/dist-packages/rfcat-1.9.6-py3.8.egg/rflib/chipcon_usb.py", line 579, in recv
rflib.chipcon_usb.ChipconUsbTimeoutException: Timeout waiting for USB response.
===== RESETUP set from recv thread

Do I need 2-nd Yardstick to be able to jam only?
Also very frequent I get USB timeout errors.

In the same time , if I use the following code from another source, I am able to jam :
from rflib import *

d = RfCat()
#d.setFreq(868500000) #868
d.setFreq(433800000) #433.92
#d.setFreq(315300000) #315
d.setMdmModulation(MOD_ASK_OOK)
d.setMdmDRate(4800)
#d.setMaxPower()
print("Starting")
while(1):
d.RFxmit(b"\x84\xe7\x08\x42\x10\x84\xe7\x38\x00\x00\x00\x00\x00\x00"*10)

Rolling code replay

I managed to jam signals using rpitx on a raspberry pi while simultaneously capturing signals using a yard stick one with the live replay option. I believe I managed to not capture any of the jamming signals and only the ones I actually wanted, but when I replay them nothing happens. What could be the issue?

Only one repeat on rolling

Hi sorry my noob question but when using the rolling code mode (-r) only one of the signals is repeated, the second fails. Sometimes the first fails and the second works. Any tip how could I fix this?

update please

i cant get this to work for the life of me
tried debian clean install
tried dragonos clean install
can this be updated to have a simple install script with everything needed to run it as a standalone with rfcat?
rfcat works, but not this

-i -F 315000000

I had issues with this option whenever I press on the remote button it would crash and give me
Traceback (most recent call last):
File "RFCrack.py", line 201, in
attacks.replayLiveCapture(d, args.rolling_code, rf_settings)
File "/opt/RFCrack/src/attacks.py", line 44, in replayLiveCapture
replay_capture, signal_strength = tools.capturePayload(d,rolling_code, rf_settings)
File "/opt/RFCrack/src/RFFunctions.py", line 21, in capturePayload
signal_strength= 0 - ord(str(d.getRSSI()))
File "/usr/lib/python2.7/dist-packages/future/types/newstr.py", line 102, in new
return super(newstr, cls).new(cls, value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc7 in position 0: ordinal not in range(128)

feature request

all day automatic save rolling codes?

1-start jamming
2-start sniffing
3-saving /save/file1

waiting 1mnt.....

1-start jamming
2-start sniffing
3-saving /save/file2

waiting 1mnt......

Update Kali

Hello there. Can someone tell me what this means please. Had to reinstall my Kali box and when I install rfcrack i get this error ImportError: No module named builtins . Thanks for any info in advanced .

Cheers Kev

RfCat is pip-installable for Py3. please update.

nice work so far! i'm liking the direction this project is going (although admittedly i haven't had a chance to make use of it yet).

this is just a note that RfCat works with Py3 now, and is pip-installable. check it out, give me any feedback you may have. then you might want to update your INSTALL docs.

hack fun!
@

TypeError: unsupported operand type(s) for +: 'map' and 'int'

Thank you for sharing your experience & tools with us!

CONTEXT

  • following your article here
  • executing the command python RFCrack.py -n -g -u 1f0fffe0fffc01ff803ff007fe0fffc1fff83fff07ffe0007c

TESTING FUNCTIONALITY

  • I was able to execute other commands. (ex. python RFCrack.py -k -f 390000000)

ENV

  • Python 3.9.7
  • Mac OSX

UnicodeDecodeError:

hi,
i wanted to give a try to rfcrack, but i am facing an issue when i want to replay

nocomp@P0wnB0x:/tools/sdr/RFCrack$ python RFCrack.py -i -F 433985000
Traceback (most recent call last):
File "RFCrack.py", line 201, in
attacks.replayLiveCapture(d, args.rolling_code, rf_settings)
File "/home/nocomp/tools/sdr/RFCrack/src/attacks.py", line 44, in replayLiveCapture
replay_capture, signal_strength = tools.capturePayload(d,rolling_code, rf_settings)
File "/home/nocomp/tools/sdr/RFCrack/src/RFFunctions.py", line 21, in capturePayload
signal_strength= 0 - ord(str(d.getRSSI()))
File "/home/nocomp/.local/lib/python2.7/site-packages/future/types/newstr.py", line 104, in new
return super(newstr, cls).new(cls, value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 0: ordinal not in range(128)
nocomp@P0wnB0x:
/tools/sdr/RFCrack$

any idea what can be wrong?
thx for helping

When will RFCrack libraries be updated to work with python3?

Hello cclabs, appreciate the hard work,
I was wondering as its Jan 2020, and python 2 is depreciated, do we need to do anything to make RFCrack work with python 3, or will we have to wait for you to make the next iteration and update.

Many thanks from the community.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.