
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
basicprogressbar
Advanced tools
Progress bar with no dependencies.
installation:
from basicprogressbar import BasicProgressBar
Arguments:
current:float = 0 # current progress
total:float = -1 # total progress '-1' for unlimited
posttext:str="" # text behind the bar
pretext:str="Progress:" # text before the bar
length:int=60 # length of the bar
endtext:str="" # text after the bar when done
endline:str='\r' # endline character to rewite same line
Basic Examples:
prog = BasicProgressBar(1,10,pretext="Before bar:")
for i in range(11):
time.sleep(0.1)
prog.current = i
prog.endtext = (f"I ended on {i}")
prog.bar(True)
for i in range(11):
time.sleep(0.1)
BasicProgressBar(i,10).bar(True)
prog = BasicProgressBar(1,10)
for i in range(11):
time.sleep(0.1)
prog.current = i
prog.posttext = f"processing {i}"
print(prog.bar(),end=prog.endline)
prog = BasicProgressBar()
for i in range(10):
time.sleep(0.1)
print(prog.next(),end="\r")
print()
Progress bar for discord
installation:
from basicprogressbar import DiscordProgressBar
Arguments:
# All the arguments of from BasicProgressBar first
idtoken:str="" # discord id token
disuser:str="Progress Bar" # name of discord user
throttle:float=0.5 # time between messages
# shouldnt have to edit the ones below
messtime:float=0.0 # time used for waiting between messages
messid:str="" # message id to edit line
timeout:float=10.0 # discord timeout
Examples:
# all examples from BasicProgressBar apply
token = "23135245523/f43faDSAF-FEAfe24f3qfq-2yfbB-agdagADGA-g334t34gqarGS"
prog = DiscordProgressBar(1,100,idtoken=token)
for i in range(1,101):
time.sleep(0.1)
prog.current = i
prog.send()
prog = DiscordProgressBar(idtoken=token)
for i in range(1,101):
time.sleep(0.1)
prog.current = i
prog.send()
prog = DiscordProgressBar(total=100, idtoken=token)
for i in range(1,101):
time.sleep(0.1)
prog.next()
FAQs
Basic progress bar and discord progress bar
We found that basicprogressbar 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.