Error running outguess on Linux terminal in windows - cryptography

So far I was able to get outguess installed on my Ubuntu distribution running under WSL by running sudo apt-get update and then sudo apt-install -y outguess. Both commands worked fine. After, I tried running outguess -r input.jpg output.txt and the error Can't open input file 'input.jpg': fopen: Permission denied shows. I've looked on google and a few forums but there is no definitive answer to this. Can anyone help?

Related

Libcamera command not found after installing it

Having a terrible time with the raspi related problems. One of them concerning the libcamera. I have Ubuntu 22.04 64bit on my raspi and I have installed the libcamera package with the command sudo apt install libcamera_*. The problem is that whenever I run a command with libcamera it tells me command not found!!! Any solutions?!! The camera is detected and supported. Thanks in advance for your help.

Using installation script based off YUM on ubuntu 20.04

After countless hours of trying alternatives I've ran out of ideas..
I'm trying to install the Acronis Backup Plugin for CPanel & WHM on Ubuntu 20.04 from this https://applications.cpanel.net/listings/view/Acronis-Backup-plugin-for-WHM-cPanel
However, even after following their own documentation by running this code:
sh <(curl -L https://download.acronis.com/ci/cpanel/stable/install_acronis_cpanel.sh || wget -O -https://download.acronis.com/ci/cpanel/stable/install_acronis_cpanel.sh)
Problem is, the script uses yum install as ive read through the lines of the install_acronis_cpanel.sh
Now my question is, how can I get around this and install this package on ubuntu, because they say there is compatibility for 20.04 if I use RPM but even RPM throws an error of "package not found" when trying to install.
Thanks!

Unable to run couchbase on ubuntu 16.04

I tried to install all the couchbase using all the methods provided in the couchbase website documentation but still facing errors.
The Debian file is loading continuously and if I'm trying to install it using terminal, I'm getting the following error.
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
First check if there is a dpkg process running, ps afx|grep dpkg
If thats the case, kill it with sudo killall dpkg
Remove the lock file with sudo rm /var/lib/dpkg/lock
That should do the trick

Unable to run npm commands with sudo

I've recently installed the balena-cli package via npm (which itself has been installed using nvm) which works fine when accessed from my default user.
However whenever I try to access npm, nvm or balena-cli using sudo they all print the following error
$ sudo npm
sudo: npm: command not found
$ sudo nvm
sudo: nvm: command not found
$ sudo balena
sudo: balena: command not found
I tried using sudo chown on all 3 but to now avail.
Basically, none of the Node related functions can be accessed using root.
Any suggestions on how to resolve this, perhaps by the use of environment variables?
As a stop gap, I found out that running the same command after switching to root works fine with the following command;
$ sudo -s
However, since it's a stop gap, it would be great to find a way to run the same commands without switching back and forth between root.
Basically once do check that have you flashed Balena image correctly and then check the network permissions and login to Balena with root and run commands with su instead of sudo then your issue might clear.

What is going on and how do I fix it?

https://prnt.sc/hlt4ey
I'm trying to get onto the xfce4 client from my chromebook (and it has worked before), however now this error is popping up. How do I fix this error?
My guess is you may not have the right user privileges. According to the error message you provided you are running an Ubuntu Linux environment.
If you haven't tried running the program through the terminal yet, attempt to do so.
The terminal can typically be opened by the key combination Ctrl+Alt+T on ubuntu linux.
Try using sudo command before running the program. This will run the command you enter using root privileges.
For example, if running the program on your terminal is
myName#ubuntu: xfce4
And this encounters an error, try to use sudo beforehand like so:
myName#ubuntu: sudo xfce4
Alternatively you can log in and not have to type sudo before every command.
myName#ubuntu: sudo bash
password:
If this fails you may need to update the package that contains the library. This can be done on the terminal in a fashion similar to:
myName#ubuntu: sudo apt-get install --only-upgrade xfce4