Tags » Perl

Perl Help in the Unix Shell

I often work with lists of files in Unix. Usually those lists are generated with find. The other day, I had a list and I had deleted a lot of unwanted entries from the list, which I usually do on-the-fly in… 270 more words

Oneliner

jerk.pl

#include <jerk.h>
OK you miserable I.T. Educators, stop screwing around with your precious little “hello world” introductions in C. “hello world” is for testing the compiler. 93 more words

Nonsense

How to Develop Quality Python Code

Click to Read

Developing in Python is very different from developing in other languages. Python is an interpreted language like Ruby or Perl, so developers are able to use read-evaluate-print loops (REPLs) to execute Python in real-time. 209 more words

Java

리눅스에서 여러 파일의 내용 한번에 수정하기

오픈소스 코드를 작성하고, 라이센스 문구를 집어 넣는 과정에서 파일 하나하나를 열어서 직접 다 수정을 했다.

그런데 하고 보니, url을 잘못 작성해서 한번에 수정할 수 있는지 찾아보던 중 find 와 perl 을 이용해서 변경하는 글을 찾았다. 15 more words

Computer

Restore.IT, Recover.IT - 2006 - When Murphy's Law just wasn't funny anymore! Or pages from the diary of a high-flying IT consultant and troubleshooter!

I was going through my old diaries with the view to putting the pages into the recycle bin when I came across an entry in 2006 that brought back painful memories (and perhaps tears to my eyes). 3,774 more words

Array

IIS FTP 5.0 Remote System Exploit

Kali Linux

1. ดาวนโหลดไฟล์ iisftp.pl จาก https://github.com/adlernet/exploit-script/blob/master/iisftp.pl แล้วเอาไปว่างใว้ที่ /root

2. เปิด terminal แล้วพิม nc -v 4444

root@kali:/# nc -v 192.168.1.92 4444
192.168.1.92: inverse host lookup failed: Unknown server error : Connection timed out
(UNKNOWN)  4444 (?) open
… 10 more words
Remote Exploits

Perl program to read a directory recursively and locate files with name matching a string provided.

Perl program to read a directory recursively and locate files with name matching a string provided.

————————————————————————————————————————-

————————————————————————————————————————-

use strict;
use warnings;

my $dir_name = shift; 61 more words

Perl