Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Sensor Side | RS232 Converter |
---|---|
Red (power) | 3.3v Power |
White (touch induction power) | 3.3v power |
Black (Ground) | Ground (0v) |
Maroon or Green or Brown (Rx) | Tx |
Yellow (Tx) | Rx |
Blue (Wakeup) | Not connected |
(Ref: Datasheet)
Make sure to use 3.3v power supply unless you have the 5v version of the sensor.
If you use a separate 3.3v power supply other than the RS232 converters power then make sure to connect grounds together (common ground).
The line order is according to the colors, even though the note says it's not.
pip install r503
on terminal.or
Run pip install pyserial
on terminal.
Download r503.py file.
from r503 import R503
fp = R503(port=5)
fp.manual_enroll(location=8)
Terminal output:
from r503 import R503
from time import sleep
fp = R503(port=5)
print('Place your finger on the sensor..')
sleep(3) # Not required to add this line
print(fp.search())
Terminal output:
Number of fingerprints in the memory
from r503 import R503
fp = R503(port=5)
print('Num of templates: ', fp.read_valid_template_num())
Terminal output:
from r503 import R503
fp = R503(port=5)
print(fp.read_index_table())
Terminal output:
from r503 import R503
fp = R503(port=5)
fp.led_control(ctrl=3, color=5)
Output: LED keeps on with a specific color according to the number
from r503 import R503
fp = R503(port=5)
for k, v in fp.read_prod_info_decode().items():
print(k, ': ', v)
Terminal output:
For Linux users: if a permission error occurs while opening the serial port, run the following command:
sudo chmod a+rw /dev/ttyUSB{your device port number}
Etc:
sudo chmod a+rw /dev/ttyUSB0
FAQs
Fingerprint reader R503
We found that r503 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.