As of now, I lost interest on this project and shifted focus to other things. That's why I have to archive rfap-pycli in an unfinished state. If you are interested in continuing this project, please email me, so I can explain some details to you or unarchive this repo and add you as contributor.
CLI Client for rfap. See related projects for compatible applications and protocol specification.
- Python 3.10+
- librfap
As we are in an early development stage, so big changes come often and not everything is backward- and forward-compatible. So always check the required librfap version in the release notes. The bleeding-edge version from this repo should be compatible with the bleeding-edge version of librfap, although it might not always the case.
Please note that Python 3.10 is required because of use of new syntax structures in this project which were added in Python 3.10 (match-case-statement).
git clone https://github.com/alexcoder04/rfap-pycli
cd rfap-pycli
sudo make install
./rfap_pycli.py [-s server-address] [-c] [-d]
commands | description |
---|---|
cat <file> , read <file> print <file> |
show content of a file |
cd <folder> |
change working directory |
cfg , config , set |
change config values for current session |
clear , cls |
clear screen |
copy <source> <destin> , cp <source> <destin> |
copy file from source to destination |
copydir <source> <destin> , cpdir <source> <destin> |
copy folder from source to destination |
edit <file> , write <file> , v <file> |
enter new content for a file |
exec , debug |
execute python command (debug mode only) |
exit , quit , :q , disconnect |
disconnect and exit |
help |
print help |
ls <folder> , list <folder> , dir <folder> |
list directory |
mkdir <folder> , makedir <folder> |
create directory |
move <source> <destin> , mv <source> <destin> , rename <source> <destin> |
move file from source to destination |
movedir <source> <destin> , mvdir <source> <destin> |
move folder from source to destination |
pwd |
print working directory |
rm <file> , remove <file> , del <file> , delete <file> |
delete file |
rmdir <folder> ,deldir <folder> |
delete folder |
save <file> <local destination> |
save file locally |
touch <file> , create <file> |
create file |
upload <local file> <destin> |
upload a local file |
- https://github.com/alexcoder04/rfap - protocol specification
- https://github.com/alexcoder04/rfap-go-server - reference server implementation
- https://github.com/alexcoder04/librfap - Python library
- https://github.com/BoettcherDasOriginal/rfap-cs-lib - C# library