Run Hydra in bash upon a password list;
ncat for the potential port for each protocol, some additional port / protocol could be added of course.
You will require to set couple of file, one would be login (one user per line) + password (still one by line)
Continue reading “Hydra in bash”
As once the centos server has been installed. (Server minimum).
the following components are needed:
- Apache httpd server
Continue reading “PrestaShop on Centos 6.x”
Installation in the terminal:
sudo apt-add-repository ppa:fixnix/indicator-systemtray-unity
sudo apt-get update
sudo apt-get install indicator-systemtray-unity
Once installed, you can enable it by this command:
gsettings list-recursively net.launchpad.indicator.systemtray
If you wish to remove it, run this command:
sudo apt-get --purge remove indicator-systemtray-unity
First, let install the prerequisites as if needed:
Continue reading “Handbrake-cli on Centos”
On Centos 7.0, you are trying to resize using “resize2fs2 the new logical volume once you have add a new volume to your group;
[root@centos7 ~]# resize2fs "yourvolumegroup"
resize2fs 1.42.9 (28-Dec-2013)
resize2fs: Bad magic number in super-block while trying to open "yourvolumegroup"
Couldn't find valid filesystem superblock.
On Centos 7.x, its using now XFS (look into the /etc/fstab), default should be xfs.
Instead of using resize2fs, use this command:
Squid 3.x with Mysql Authentication
Upon your Mysql table, in addition you might have to review the user's query from this file:
Continue reading “squid 3.x with Mysql Authentication”
I have recently setup squid 3.x on my raspberry; And wanted to add some basic authentication
Below, the lines needed to enable it; Once in place you can use this command to add user:
Continue reading “squid 3.x with Basic Authentication”
sync your data with HubiC.
Install it on your Raspberry, just download the last package:
sudo dpkg -i -R hubiC-Linux-184.108.40.206-linux.deb
finalize the installation as for the dependancies:
sudo apt-get -f install
Before running it, you need to reed the bus:
Copy/paste the bus data address and export the settings (change ‘xxxx’ with your own data from the previous command output:
And run hubiC with the login you have created on the website:
hubic login firstname.lastname@example.org /home/pi/hubiC
By default configured to accept connection from local system (127.0.0.1). This should avoid open mail relay problem.
To allow connections from ALL hosts/LAN IPs open sendmail.mc file (login as the root):
# vi /etc/mail/sendmail.mc
Look for line that read as follows:
Comment or remove above line and insert new line that read as follows:
Above line will force to accept connection from any host. Save the file. Regenerate sendmail configuration file using m4:
# m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
If this command is resulting by giving such of error as below, this means that the file
/etc/mail/sendmail.mc:10: m4: cannot open `/usr/share/sendmail-cf/m4/cf.m4': No such file or directory
Then, this means that the sendmail.cf.xx rpm package is missing and require to be installed.
In my case, I had to mount the cdrom, and look for this rpm file:
Restart sendmail service :
# /etc/init.d/sendmail restart
I had the need to remove from several folders that the same level the first 5 characters recursively.
for i in **; do [[ -d "$i" ]] || continue; mv "$i" "$(echo $i | sed -e 's/^.......//')";done