StupidIdentd, an identd for running an identds sake.
Posted on October 17, 2009 at 05:43 PM
This little application, which runs via inetd (Like so:
ident stream tcp nowait halcyon /usr/bin/identd
) returns the same username on any ident request.
PROS:
- Works behind NAT
- Probably free of exploitable bugs
CONS:
- Kind of misses the point of having an identd in the first place
- Utterly useless except for epeen
So, without further ado (Compile like you would any C app):
include <stdio.h>
#include <string.h>
#define USERNAME "ordinary_magician"
int main() {
char buf[4096], *p;
if (fgets(buf, sizeof(buf), stdin)) {
if ((p = strpbrk(buf, "\r\n"))) {
*p = 0;
}
printf("%s : USERID : UNIX : %s\r\n", buf, USERNAME);
}
return 0;
}
This month
| February | ||||||
|---|---|---|---|---|---|---|
| Mo | Tu | We | Th | Fr | Sa | Su |
| 30 | 31 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 1 | 2 | 3 | 4 |


— Full post RSS feed
— Comment RSS feed
— CC-BY-NC license
— Valid XHTML 1.1
— Debian operated
— Powered by Ruby
— Co-Powered by Perl
— Made with kate
There is 1 comment on this post. Post yours →
* Checking ident… * Received identd response
AMAZING!!!! NEVER SEEN ANYTHING LIKE IT BEFORE A+++++ WOULD IDENT AGAIN
Required fields in bold.