Category Archives: General Tech Discussion

This section deals with general technical discussion

OS command injection/remote command execution

Following are few examples of OS command injection/remote command execution Eg#1 /* following program mimics cat command in unix which prints the content of file */ #include #include #include #include int main(int argc, char **argv) { char cat[] = “cat … Continue reading

Posted in C Section, General Tech Discussion | Leave a comment

Application Security

Application security Applications deployed are vulnerable to various kind of attacks from hackers. As such when applications are designed/coded, care should be taken to avoid any such attacks. QA team should also consider writing test cases to validate for any … Continue reading

Posted in C Section, General Tech Discussion | Leave a comment

Executing commands on windows host from unix host

Many a times we may need to execute commands in host#2 from host#1, where in host#1 and host#2 can be windows or unix hosts. In this post I will be providing information on how to run commands from unix host … Continue reading

Posted in General Tech Discussion | Leave a comment

About GPT/MBR disks and diskpart

One of the limitations of MBR partition is limitation of max disk size to 2TB. If disks of size greater than 2TB has to be used, it has to be converted to GPT disk rather than MBR. For more details … Continue reading

Posted in General Tech Discussion | Tagged , , , , | Leave a comment

Perl script vs Shell script

Perl is known for its text manipulation capabilities. When shell scripts are compared to perl scripts for text manipulation, perl script has certainly an edge over shell scripts. I ported a shell script to perl script as the shell script … Continue reading

Posted in General Tech Discussion | Leave a comment

Dual core and core 2 duo

Let me put forth the difference between Dual core and core 2 duo processors in very simple words Dual Core – has 2 cores in a single silicon chip Core 2 Duo – is the name given by Intel to … Continue reading

Posted in General Tech Discussion | Leave a comment