i'm trying to follow this guide: [URL] (THE GUIDE AT THE BOTTOM OF THE COMMENTS, NOT THE GUIDE IN THE OP) EDIT: Managed to install the GUI XHydra, but when I tested it out I get this error:
Aug 16 21:41:14 server1 kernel: __ratelimit: 6 callbacks suppressed Aug 16 21:41:14 server1 kernel: Out of socket memory Aug 16 21:41:29 server1 last message repeated 21 times
I have a problem, I need to launch another binary from my application, but I need to get the control back once the other binary is initialized. fork/exec doesn't seem to give anything on that side using pthreads I'm able to wait until the new thread exits, but that's not what I want at the moment I'm using popen, but it doesn't seem to do the job right...
I'm having trouble with the installation process of THC HYDRA, it's my first time using it, someone was telling me about THC HYDRA GTK? I managed to get THC HYDRA running in CMD, but I want to use THC HYDRA GTK and I don't get how to get it working. I checked the main site of THC HYDRA, and it has screenshots of GTK but I don't know how to get it like that. For me I am only working in CMD...
I need to disable file access (fopen, freopen, open etc) for application which is running under chroot jail and with restrictions (rlimit) via execv. Before that I redirected stdin/out to files within jail. I tried this:
Code: // Redirect stdin/stdout to files int fd = open (file_input, O_RDONLY); if (fd < 0) fatal_error ("input open failed!");
I haven't programmed in C for a while, so I am trying to remember certain aspects of syntax. I have a program that will fork and exec other programs. Those programs will be specified on the command line as follows:
./main "prog1 arg arg ..." "prog2 arg arg ..."
Here is the main snippet:
int countChar(char* s, char c) { int cnt = 0; int len = strlen(s); for(int i = 0; i < len; i++)
[code]....
The highlighted line is the problem. I get this error:
dualstarter.cpp:58: error: initializer fails to determine size of 'params'.
Right now I am thinking of creating an array with the specified size and simply copying the required string into it, but it just seems like there is an easier way.
I am trying to compile thc hydra on my netbook. I am running ubuntu 10.10.The configure goes fine, but when I try to make I keep getting this error, and I don't know which library it needs. Anyone help?
Quote:
/usr/bin/ld: cannot find -lpq collect2: ld returned 1 exit status make: *** [hydra] Error 1
I read that passwd -S spits out informationabout a user's password including the encryption algorithm used to encrypt the password in /etc/shadow. I ran the command but nothing about the algorithm is returned. Is this a quirk in openSUSE?On another note, I've determined through other means that I've selected blowfishryption as evidenced by the $2blah$2blahblah format of the /etc/shadow entry. However, if I look at /etc/default/passwd it lists CRYPT=md5. If I'm using blowfish why would that variable be set to md5. onversely, if it is set to md5 why is the blowfish algorithm being invoked?
I set up an ASUS WL-500gP with original ASUS firmware to my LAN with IP address 192.168.1.1. If I navigate to address [URL] in my Firefox address bar, an Authentication required window opens up asking for "User name: " and "Password: ". Correct "User name: " is "admin" and correct "Password: " is "pA55w0Rd". They work fine if I type them in manually to the Authentication required window, but for some reason I can't get in using the hydra with words.txt password file, which contains "pA55w0Rd":
i just tried to install Ubuntu Netbook 10.04 on my old Amilo Lifebook P Series. But after the boot screen and the choice to install Ubuntu i get stuck at the Ubuntu screen with the little dots on the bottom If I hit esc i can see the warning (process 257): GLib-WARNING **: getpwuid_(r) failed due to unknown user id (0)
This may be too late, but, Do not under any circumstances install or Upgrade to Ubuntu 11.04 Natty, it is the buggiest distro they have ever produced, it is better to stick to 10.04, it's far more stable and stuff just works. Natty use a new desktop called Unity, that is totally useless, there are ssh issues that prevent logging to a remote terminal using a public key, Natty is just useless. I'm going to have to backup my ~ directory and reformat then re-install 10.4, until such times as Natty is fixed!. Check the launchpad bugs section and you'll see there are more complaints about Natty then any other Ubuntu version.
I've been trying to install Ubuntu server 10.04 and I keep getting a Debootstrap warning. Warning: file:///cdrom/pool/main/p/plymouth/libplymouth2_0.8.2-2ubuntu2_i386.deb was corrupt. I am then presented with options to Continue or Go Back. Whichever option I choose, the installer keeps giving me Deboostrap warnings. I've tried to find solutions online and I've done the CD integrity test as well as a memory test. I've passed both. i am installing this on a Dell Dimension 8400 machine with 1 GB RAM and a 80 GB HDD.
I'm running Karmic Server with GRUB2 on a Dell XPS 420. Everything was running fine until I changed 2 BIOS settings in an attempt to make my Virtual Box guests run faster. I turned on SpeedStep and Virtualization, rebooted, and I was slapped in the face with a grub error 15. I can't, in my wildest dreams, imagine how these two settings could cause a problem for GRUB, but they have. To make matters worse, I've set my server up to use Luks encrypted LVMs on soft-RAID. From what I can gather, it seems my only hope is to reinstall GRUB. So, I've tried to follow the Live CD instructions outlined in the following article (adding the necessary steps to mount my RAID volumes and LVMs). [URL]
If I try mounting the root lvm as 'dev/vg-root' on /mnt and the boot partition as 'dev/md0' on /mnt/boot, when I try to run the command $sudo grub-install --root-directory=/mnt/ /dev/md0, I get an errors: grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea. grub-setup: error: Embedding is not possible, but this is required when the root device is on a RAID array or LVM volume.
Somewhere in my troubleshooting, I also tried mounting the root lvm as 'dev/mapper/vg-root'. This results in the grub-install error: $sudo grub-install --root-directory=/mnt/ /dev/md0 Invalid device 'dev/md0'
Obviously, neither case fixes the problem. I've been searching and troubleshooting for several hours this evening, and I must have my system operational by Monday morning. That means if I don't have a solution by pretty early tomorrow morning...I'm screwed. A full rebuild will by my only option.
I just downloaded the Debian (Squeeze) businesscard 'netinst' ISO and every time I attempted to run an install, I keep getting the following error:http://yfrog.com/ngdeberrorp
I am currently running Suse 11.3. I continue to get the following error when logging into the KDE login manager with my user account
"Warning: Cannot open ConsoleKit session: Unable to open session. The name org.freedesktop.ConsoleKit was not provided by any .service files."
After acknowledging the error, it resets back to the login manager screen. If I login with root, I get the same message, but it continues on and logins into the session
whenever i'm trying to install package it shows one warning 'yum-complete-transaction'. but i try to yum-complete-transaction command but i got the result bash: yum-complete-transaction: command not found. so how to clear this warning, y this warning comes
I'm doing a fully automated install of Etch, installing the standard system task. I'm using PXE boot with a preseed file.
I do this a lot, and I've not had problems before. This morning, it's stuck at 5% on "Select and install software" saying "Please wait...". The log on console #4 says:
WARNING: untrusted versions of the following packages will be installed!
[snip]
Do you want to ignore this warning and proceed anyway?
I installed a system yesterday without any problems, so I wonder if there's a recent problem with the mirrors I'm using. My /target/etc/apt/sources.list contains:
deb [url] deb [url]
So it looks like either the UK mirror or security.debian.org.
Upgraded my 11.2 system to 11.3 today. Can't login anymore using gdm or xdm login window. The password prompt is displayed but no chars are echoed in the password field. when you click Login, it displays "Authentication failure" in the window. The logged messages in the /var/log/messages for the gdm-greeter are:
gdm-simple-greeter: GLib-GObject-WARNING: gsignal.c:2273: signal 'dialog-hidden' is invalid for instance '0x81299b8' gdm-simple-greeter: Gtk-WARNING: gtkwidget.c:5628: widget not within a GtkWindow gdm-session-worker: gkr-pam: couldn't get the password from user: Conversation error gdm-session-worker: pam_unix2(gdm:auth): conversation failed
Note that I can login at init level 3 as root of the user I"m attempting to login with in the gdm window.
Was playing with a script in /etc/init.d, ran upgrade-rc.d then rebooted. Login scree came up, accepted my credentials, blinked then returned to login screen.
Booted from CD and removed the script from init.d and the softlinks from /etc/rc*.d
I recently upgraded a couple of my systems from 8.04 LTS to 10.04 LTS. I had no issues with nfs prior to the upgrade. After the upgrade I am occasionally seeing the following messages:
mspfiles being the share name.
This never used to happen on 8.04. Generally the error "Socket operation on non-socket" points to a coding error. Could this be a bug in the kernel? Has anyone else come across this?
The only other recent reference that I found to the same errors was in this comment on the OpenSUSE bugtracker: [url]
It seems as though it is handling loss of connectivity less gracefully than it did before.
I can't really upgrade any more of my servers until this is fixed as we are heavily dependant on nfs.
I have a Dell Mini running 10.10 dual booted. Accessing internet through a BT Home HUB version 2.problem solved by making the Wireless setting 802.11 B/G, instead of the BT default), now I can not access software repositories. when I try through synaptic to load Icedtea, or Google chrome for example, I get server not found 404. I was previously able to get software.