Server :: Fuzzing - Buffer Overflow - Ability Server - Could Not Connect To FTP Server?

May 29, 2011

i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7.On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success.here is the code:

PHP Code:
#!/usr/bin/python
import socket

[code]...

View 14 Replies


ADVERTISEMENT

CentOS 5 :: Connect To The Ftp Server - Error "buffer Overflow Detected ***: /usr/sbin/vsftpd Terminated Error:Could Not Connect To Server"

Sep 24, 2011

every time I try to connect to the ftp server I setup i am recieving this error Response:*** buffer overflow detected ***: /usr/sbin/vsftpd terminated Error:Could not connect to server

View 1 Replies View Related

General :: Periodically "losing" Ability To Connect To Server Via SSH?

Mar 18, 2010

I know this isn't exactly a programming question, but it popped up in my use of git for programming projects at least. I've got a web server that I use to host my git repos on, but my ubuntu box seems to "lose" the ability to connect to it via SSH. I'll get a "connection refused" error when I try to ssh or use git. Rebooting my local machine will fix the problem, but only temporarily. I can still connect to the web interface just fine, and the problem manifests with other servers as well.

I've been working around it by pulling my changes over to my laptop and pushing from there, but that's sub-optimal as you can imagine. Has anyone seen something like this? I'd be tempted to say it's some kind of IP caching problem, but I can't connect even using the IP address of the server directly.

View 2 Replies View Related

Ubuntu Security :: Exploiting A Buffer Overflow?

Jan 26, 2010

I have to give it up for the Ubuntu developers. It is nearly impossible to exploit a simple stack overflow. I'm studying overflows for a project so I need it to work. I set /proc/sys/kernel/randomize_va_space to 0 and when I compiled my program I used -mpreferred-stack-boundary=2 and -fno-stack-protector. But for some reason no matter how much input I enter it won't overwrite the EIP. What is stopping this from working that other linux versions don't have? And does anyone know of a way to bypass it?

View 1 Replies View Related

Fedora Security :: Carrying Out A Simple Buffer Overflow?

Oct 15, 2009

I would like to start learning about the nuts and bolts concerning Linux security. I bought the "Gray Hat Hacking" book by Harris et al. and started working at their example for buffer overflows but hit a bump immediately. Is this the right place to be discussing this sort of thing? If so I give pertinent info below:

Program:
//overflow.c
#include <string.h>
main(){
char str1[10]; //declare a 10 byte string

[Code].....

View 2 Replies View Related

Fedora :: Get Buffer Overflow When Snmptrapd Calls Traphandle

Jun 8, 2010

However, every time snmptrapd gets a snmp notification, it aborts. In debug mode, it reports a buffer overflow detected. I've tried another core 13 and a core 12, with net-snmp 5.5. On these three systems, snmptrapd behaves the same. Here is my snmptrapd.conf,

disableAuthorization yes traphandle default touch /root/a.txt I triggered snmptrapd with, snmptrap -Ci -v 2c -c public localhost "" "1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4" 1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4 int 500 Same result I got with my firewall snmp traps. Some other different scripts replaced in traphandle default, got the same. A small portion of debug info listed,

[Code]...

View 2 Replies View Related

Fedora Servers :: Get Buffer Overflow When Snmptrapd Calls Traphandle

Jun 25, 2010

I'm using Core13 for zabbix, and trying to make snmptrapd works on it.

However, every time snmptrapd gets a snmp notification, it aborts. In debug mode, it reports a buffer overflow detected. I've tried another core 13 and a core 12, with net-snmp 5.5. On these three systems, snmptrapd behaves the same.

Here is my snmptrapd.conf,

disableAuthorization yes
traphandle default touch /root/a.txt
I triggered snmptrapd with,
snmptrap -Ci -v 2c -c public localhost "" "1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4" 1.3.6.1.4.1.8837.4.1.2.1.2.1.6.4 int 500

[Code]....

View 1 Replies View Related

Server :: Openldap Client Fails To Connect Ldap Server 'ldap_bind - Can't Contact LDAP Server

Sep 28, 2010

Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.

Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:

ldapsrv is pingable:

Some outputs:

PHP Code:

PHP Code:

View 20 Replies View Related

Server :: Buffer I/O Error On Device?

Mar 15, 2010

cciss :cmd ffff880074984e00 has check condition byte 2 = 0x3
Printk : 30 messages suppressed
Buffer I/O error on device cciss/c0d0p2 logical Block 2211585 to 2211594

View 1 Replies View Related

Ubuntu Servers :: SSH Server - Connect To Server Via Port 443 I Get A Connection Refused Error?

Jan 7, 2011

I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:

Code:

# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for[code]...

When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.

View 2 Replies View Related

Server :: ERROR 2002 (HY0000): Can't Connect To Local MySQL Server Through Socket

Mar 28, 2010

Im getting this error when i try to run mysql from a shell

Code:
ERROR 2002 (HY0000): can't connect to local MySQL server through socket

I have installed MySQL over yum on fedora.

but the path and file /var/lib/mysql/mysql.sock does not exist on my system?

View 3 Replies View Related

Server :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket

Apr 11, 2010

I've tried /etc/init.d/mysql start, and it actually starts, or at least, it doesn't error out. But when I do pgrep mysql I get nothing, and when I try to login with mysql -p as root, I get

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

None of my other logins work, either, but since pgrep mysql didn't work, it's clear that MySQL just isn't running. I tried uninstalling and reinstalling mysql-server via apt-get, but I get the same thing. The logs in /var/log/syslog show this:

Apr 11 14:31:26 /etc/init.d/mysql[9774]: #007/usr/bin/mysqladmin: connect to server at 'localhost' failed
Apr 11 14:31:26 /etc/init.d/mysql[9774]: error: 'Can't connect to local MySQL server

[code].....

View 3 Replies View Related

Server :: Unable To Connect Samba Server From Other Pc Giving Error NT Authentication Failure

Jul 28, 2010

I am not able to connect samba server from other linux pc giving error: NT Authentication Failure

But am able to access through anonymous login from linux Same is working fine will all smb users through windows. I am using rhel 5.

View 3 Replies View Related

Server :: DHCP Server On CentOS 5.5 Not Working - When Connect Any Devices To Eth1 They Don't Get Any IP

Dec 2, 2010

I'm no expert on DHCP. My problem is that i have a CentOS 5.5 server on which i want to install a DHCP server. I have two NICs where eth0 has access to the internet and where eth1 should act as an DHCP server.

I have installed dhcpd and this is how my dhcpd.conf file looks like.

Code:

ifconfig looks like this

Code:

When i start dhcpd on eth1 i get no error messages but when i connect any devices to eth1 they don't get any IP. I cant find anything in any logs about devices trying to get an IP address. I dont have any firewall rules in iptables.

View 4 Replies View Related

Server :: Setup A VPN Server At Work For Resource Sharing - Connect Keep Failing

Aug 29, 2010

I need to setup a Linux VPN server at work for resources' sharing, I currently have a server running CentOS 5.4, and tried endless tutorials on the web, but to no avail, and can't find where the logs are kept for the VPN server to check where the error is. But all my attempts to try to connect keep failing.

View 9 Replies View Related

Server :: Server Configuration For Small Office Server, Which Smtp, Pop Imap Server And Backup?

Apr 2, 2010

I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.

I have installed Ubuntu 9.10 server x64 and have got apache running.

I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.

View 4 Replies View Related

Server :: ERROR 2002 (HY000): Can't Connect To Local MySQL Server Through Socket '/var/lib/mysq

Apr 24, 2011

I have an e-mail production server that has been running fine for almost two years.

Notice mail was not serving today and login to a bunch of errors in messages

However, I think they are all from not being able to access MySQL and when I:

mysql -u root -p

I get:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)

View 5 Replies View Related

Ubuntu Networking :: Error - Cannot Connect To Server - You Must Enter A Name For The Server

Apr 17, 2011

In Gnome Places->Connect To Server dialog, I am having problem using the Custom Location Service Type. I enter in the URI as

Code:

smb://username:password@ipaddress/share_name

I get an pop up error message that says:

Quote:

Cannot Connect To Server. You must enter a name for the server.

Which would be fine if there was actually a place for me to enter the name which there is not. What am I doing wrong. This is the first time I have tried using the Connect To Server dialog. Normally I just use a script I wrote to mount my share in a folder on my local drive as some programs cannot access the mounted network folder. In a browser all I have to do is:

Code:

smb://ipaddress/share_name

I tried using Windows Shares, but that did not work either. It does work if I click on network and access the share that way, but some programs like firefox and a few others that I want to save a file to my network drive do not show the network unless the share is mounted in a folder. So, I wrote a script:

Code:

#!/bin/sh
#mount ext storage drive
mount -t cifs //192.168.0.2/files -o username="username",password="password" /mnt/files

This works and I can use this, but it would be handy if I could just use the Connect To Server dialog.

View 3 Replies View Related

Server :: How To Connect Qmail / Vpopmail To Remote Mysql Server?

May 14, 2010

I would like to connect to a separate mysql server, yet I can't find any documentation on how to do this.How would one achieve this? I am running qmail on centos4.

View 3 Replies View Related

CentOS 5 Server :: Connect Sql Server Wih Native Driver Not Via Odbc?

Sep 29, 2009

I must connect my apache server to a SQL Server 2008 and use the native instructions (mssql_connect)...in ubuntu this is provided by php5-sybase but in centos this rpm does't exists. How I can connect to SQL Server? I must compile php from source? Is There a way to use the freetds driver?

View 1 Replies View Related

CentOS 5 Networking :: Lost The Ability To Ping/ssh/http Remote Server?

Dec 21, 2010

Some time yesterday, I lost the ability to ssh my remote server, or even visit any webpages it hosts.

I've explored hosts.deny, /var/log/secure and even turned iptables off to see if it would fix anything. To no avail. Here's what my ssh login attempt looks like:

Quote:
localhost ~ $ ssh -vv x.x.x.x
OpenSSH_5.2p1, OpenSSL 0.9.8l 5 Nov 2009
debug1: Reading configuration data /etc/ssh_config
debug2: ssh_connect: needpriv 0

[Code]....

View 5 Replies View Related

General :: How To Connect To A Remote Server And Run Some Code On That Particular Server

Jun 30, 2011

I am implementing an automated backup scheme so I created a shell script which first creates SQL dumps for all MySQL databases, then retrieves all websites from the /var/www directory of a remote server. The latter is working as I am using rsync to get the remote files.However, the MySQL dumps being retrieved are the ones from the local server which is not what I want. I want to get the SQL dumps from the remote server as well.I have a tunnel between the local and remote server which I can connect to without using any password (I added the public key to the authorized_hosts), so I tried to add the following code to the script:

ssh user@192.168.x.xxx

I then attempted to retrieve the SQL dumps and exited from the remote server. However this does not work as I still have to enter exit manually in the terminal for the SQL dumps to be retrieved from the remote host. I don't know why this is happening. This is what the script is trying to do:

//connect to remote server
ssh user@192.168.x.xxx
//retrieve SQL dumps

[code]...

Is there a way to connect to the remote host AND run the script's code on THAT remote host?

View 2 Replies View Related

Server :: Connect To Server In Graphical Env (real Time)?

Aug 18, 2011

I would like to connect to Linux Server remotely over LAN in graphical modeBut I need access for several users in real time. Everyone must have its own desktop.

View 2 Replies View Related

Server :: LFTP Can't Connect To Proftpd Server (hangs)

Nov 28, 2010

I'm using ProFTPd as my FTP server on a CentOS 5 box. Since updating to version 1.3.3c, I seem to have very specific problems. Connections work quite fine with about any FTP client out there, including the basic ftp command from the Linux prompt. However, when trying to connect to that server with LFTP, things go wrong. When connecting, all I get is [Connecting] then [Logging in...] and then nothing. I have to add that SSL is forced off in lftp.conf (I read it could be the problem). I sometimes get a counter for reconnection, but it never works.

The command I use in lftp is : open -u <user>,<pass> <server_ip>, the ls for lftp to establish the connection. I don't see anything at all in the server's log. I just see "FTP session opened" and "FTP session closed" in /var/log/messages" and nothing in /var/log/secure. I can give you a strace if needed. Please keep in mind that the server WORKS with anything but LFTP and NCFTP (which I also tried).

View 10 Replies View Related

Server :: Workbench - Use SSH To Connect To Mysql Server Remotely?

Apr 5, 2011

How can I use SSH to connect to my mysql server remotely? SSH connects on port xxxx, so do I need to forward ports in the putty connection?

View 4 Replies View Related

Server :: Unable To Connect To Outgoing SMTP Server

Jul 12, 2011

I run my own mail server. There's only one part that isn't working and I can't seem to figure out why: sending mail from a client - in this case, Thunderbird.

I can send mail off-server just fine if I log in via telnet. I can receive email just fine with Thunderbird.

Here are my relevant configs:

/etc/postfix/main.cf:

Code:
queue_directory = /var/spool/postfix
message_size_limit = 102400000
mailbox_size_limit = 1024000000
command_directory = /usr/sbin

[Code].....

View 3 Replies View Related

Debian :: Low Power Server / Use USD Card As Write Buffer So HD Idles

Dec 18, 2015

I have made a server using a bananapi. The bananapi is an embedded linux mini PC, using an allwinner A20 SOC. This server boots and runs from an uSD card, and logs data from sensors to an attached 1TB hard drive. This works OK, but the hard drive consumes a lot of power (about 2.5W), this essentially doubles the amount of power needed. I am planning to power this setup from an accu, therefore I would like to keep power consumption as low as possible.

I am planning to let the application log to the uSD card. After a while the uSD card is almost full. At that moment I can wake up the HD, move the data to the HD, delete the data from the uSD card, set the HD to sleep, and wait until the uSD card is full again. Is there some clever way to do this? I can do this with basic shell scripting, but then I get all kind of issues like open files that are copied to the HD while they are still being filled by the logging application. This would mean they end up on the HD incomplete.

View 5 Replies View Related

Networking :: Connect With A Server Apart From The Server Which Work On?

Feb 21, 2011

I need to connect with a server apart from the server which I work on. What is the command for this?

View 5 Replies View Related

General :: Cannot Connect To Server But Can Ping To Server

Dec 26, 2010

I created an account called adminftp on a local Linux server Centos.Added this user to FTP group.When I use Filzilla from another computer in the same network, it cannot connect to the server but I can ping to the server.

View 6 Replies View Related

Server :: DCHP Server V3.0.6 Cannot Connect To Interne

Sep 26, 2010

im using dhcp server v3.0.6.Configuration file error encountered -- exiting.What i will do this problem, because some are connected to internet but some cannot connect to internet.?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved