zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Show hidden files in proftpd

January 31, 2011 by Igor Drobot Leave a Comment

If you can’t see hidden files in proftpd ( files with a .(dot), like .htaccess), you can force the files to be displayed in almost all clients with a server wide variable in your proftpd.conf:

Chnge to -a if exists already or add to the bottom:

1
ListOptions -a

ListOptions -a

Restart proftpd and reconnect.

Filed Under: FTP, Linux Tagged With: FTP, ProFTPD

Testing network with iperf

January 31, 2011 by Igor Drobot Leave a Comment

If you need to measure network throughput and capacity, I haven’t found a simpler solution than iperf. There isn’t much to say about the operation of iperf — it’s a very simple application in server/client mode.

In short, iperf can be installed on two machines within your network. You’ll run one as a server, and one as a client.

First we need to install iprerf (debian and ubuntu way):
[Read more…]

Filed Under: Linux, Networking Tagged With: iperf, network test, speed

Enable CGI in Apache2

January 31, 2011 by Igor Drobot 2 Comments


If you want to enable CGI support for you domain or subdomain.

Install Apache2 mod-perl module:

1
aptitude install libapache2-mod-perl2

aptitude install libapache2-mod-perl2

Add this to the Apache configuration:

1
2
3
4
<directory "="" var="" www="" domain="" cgi-scripts"="">
    Allow from all
    Options All FollowSymLinks MultiViews
</directory>

<directory "="" var="" www="" domain="" cgi-scripts"=""> Allow from all Options All FollowSymLinks MultiViews </directory>

Only scripts in directory /var/www/cgi-scripts can be executed as CGI.

Filed Under: Debian, HTTP, Linux Tagged With: apache2 cgi, cgi, enable cgi

How to Bruteforce SSH

January 30, 2011 by Igor Drobot 17 Comments

SSH is an acronym which stands for Secure SHell, which provides a secure shell access to a remote machine.

This brut force tool is great to test some security stuff like iptables or sshguard.

You are able to see the proceeder of real hacking attempt.

Like most brute forcing tools, you’ll first need a pretty big passlist. You can get one from here:

1
wget https://zeldor.biz/other/bruteforce/passlist.txt

wget https://zeldor.biz/other/bruteforce/passlist.txt

[Read more…]

Filed Under: Bash, Debian, Linux, Networking Tagged With: hacking, SSH Brute force, SSH Security

Nginx + apache2 = real-ip

January 30, 2011 by Igor Drobot 4 Comments

Nginx and Apache2 are running great but there is only one tiny problem with the visitors ip’s.

Normaly I let my nginx instance do the logging job, but if you let your Apache do it you will get some problems. Apache will see all incoming requests as coming from localhost (127.0.0.1). Right they are all from nginx.
[Read more…]

Filed Under: Debian, HTTP, Linux, Networking Tagged With: apache2, Nginx, Proxy, real-ip, rpaf

  • « Previous Page
  • 1
  • …
  • 41
  • 42
  • 43
  • 44
  • 45
  • …
  • 62
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok