Tuesday, January 26, 2010

Operation Aurora exploit in Google Attack

Bookmark and Share

As publicly disclosed by Google, an attack hit Google and other few companies, is now described as Operation Aurora. Why is this attack called Operation Aurora? A post titling, Operation Aurora: Clues in the Code at Secure works is good read.  (If someone has more good reference then drop your comments below.)

A post at praetorianprefect.com has video that shows Aurora Exploit in action using metasploit.

Wednesday, January 20, 2010

Twitter is over capacity

Bookmark and Share

As usual, I was checking out my http://twitter/techsutram account and twitter presented me with surprising over capacity message.

Twitter is Over Capacity

Windows PowerShell – a free eBook from Microsoft

Bookmark and Share

Yesterday, one of my friends called me to ask if I have any book on Windows PowerShell. I told him that I don’t have any book on Windows PowerShell, however, I do remember that there is free eBook available from Microsoft. So below are the links for downloading Windows PowerShell eBook from Microsoft and its associated demo files.

Download Windows PowerShell eBook + Associated Demo files

Reblog this post [with Zemanta]

Tuesday, January 19, 2010

Invalid disk device for 'cdsdisk’ error

Bookmark and Share

I was trying to setup shared storage between two VMs (Linux) for my virtual environment. Hence, I added another hard disk (or shared storage) between those two virtual boxes.

However, before creating VxVM DiskGroup, when I tried to initialize the shared storage (disk) that I configured between two VMs then one of the errors that surprised me was…

“VxVM vxdisksetup ERROR V-5-2-1814 sdb: Invalid disk device for 'cdsdisk'”

Below is list of CLIs that I used to circumvent this issue and create a DiskGroup...

--------------------------Start Of Shell-----------------------------------
[root@ts ~]# vxdisk -o alldgs list
DEVICE       TYPE            DISK         GROUP        STATUS
sda          auto:none       -            -            online invalid
sdb          auto:none       -            -            online invalid
[root@ts ~]# /etc/vx/bin/vxdisksetup -i sdb
VxVM vxdisksetup ERROR V-5-2-1814 sdb: Invalid disk device for 'cdsdisk' format
[root@ts ~]# vxdisk list sdb
Device:    sdb
devicetag: sdb
type:      auto
info:      format=none
flags:     online ready private autoconfig invalid
pubpaths:  block=/dev/vx/dmp/sdb char=/dev/vx/rdmp/sdb
guid:      -
udid:
VMware%5FVirtual%20disk%5FOTHER%5FDISKS%5Fts.ts.com%5F%2Fdev%2Fsdb
site:      -
Multipathing information:
numpaths:   1
sdb     state=enabled
[root@ts ~]# vxdctl enable
[root@ts ~]# fdisk -l

Disk /dev/sda: 8589 MB, 8589934592 bytes
255 heads, 63 sectors/track, 1044 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14          78      522112+  82  Linux swap
/dev/sda3              79        1044     7759395   83  Linux

Disk /dev/sdb: 2147 MB, 2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb4               1         259     2080386    5  Extended
[root@ts ~]# /usr/lib/vxvm/diag.d/vxscsi -g sdb
Cannot get disk geometry on sdb !
[root@ts ~]# /etc/vx/bin/vxdisksetup -i sdb format=sliced
[root@ts ~]# vxdg init dg01 sdb cds=off
[root@ts ~]# vxdisk -o alldgs list

DEVICE       TYPE            DISK         GROUP        STATUS
sda          auto:none       -            -            online invalid
sdb          auto:sliced     sdb          dg01     online
[root@ts ~]# vxdg list
NAME         STATE           ID
dg01         enabled              1263886728.28.ts.ts.com
--------------------------End Of Shell------------------------------------

It looks like I have added IDE disk as shared storage to VMs instead of SCSI disk. However, setting disk format to sliced resolved this issue for me.

Reblog this post [with Zemanta]

Thursday, January 14, 2010

Add / Remove Solaris packages automatically

Bookmark and Share

Those who deal with Solaris often require to install and uninstall packages. However, sometimes it becomes boredom to press ‘y’ or ‘yes’ every time we try to install or uninstall or remove multiple software packages. So if you are tired with pressing ‘y’ or ‘yes’ each and every time then simply pipe ‘yes’ CLI to ‘pkgrm’ or ‘pkgadd’ CLI in Solaris.

--------------------------Start Of Shell-----------------------------------

ts:~# yes | pkgadd –d.

.

.

.

ts:~#  yes | pkgrm SomeSamplePacakageName

.

.

.

--------------------------End Of Shell------------------------------------

NOTE: Use it cautiously.

That’s it.

Reblog this post [with Zemanta]
 




Technology