Thread Closed
[Ask] command detail spec. PC
#1
Bro, command bash apa ya, yang bisa buat scan hardware di laptop ato pc kita secara detail, Mainboardnya apa, vganya apa, memorinya brapa sound cardnya apa, dll. sekaligus buat scan komputer client kalo kita jadi server. ane dah coba pake lspci tapi gak gitu complit keterangannya Mohon Pencerahan. Thx Big Grin
echo (attacked==1) ? defend : counter attack;

#2
Sudah saya post di sini mengenai sysadmin tools

http://forum.indonesianbacktrack.or.id/s...hp?tid=320

Untuk memperjelas biar gk banyak keterangan

ethernet cek

Code:
[email protected]{~/Desktop}:lspci | grep Ethernet
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)

vga ( visual graphic adapter )

Code:
[email protected]{~/Desktop}:lspci | grep VGA
02:00.0 VGA compatible controller: nVidia Corporation G98 [GeForce 8400 GS] (rev a1)

Code:
[email protected]{~/Desktop}:lspci | grep USB
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)

ram ( random acess memory )

Code:
[email protected]{~/Desktop}:lspci | grep RAM
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller

Pemeriksaan motherboard sistem

Code:
[email protected]{~/Desktop}:dmidecode -t baseboard
# dmidecode 2.9
SMBIOS 2.6 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
        Manufacturer: ECS
        Product Name: GeForce6100PM-M2
        Version: 3.0                  
        Serial Number:                      
        Asset Tag:                      
        Features:
                Board is a hosting board
                Board is replaceable
        Location In Chassis:                      
        Chassis Handle: 0x0003
        Type: Motherboard
        Contained Object Handles: 0

Untuk memeriksa bios system

Code:
[email protected]{~/Desktop}:dmidecode | head -15
# dmidecode 2.9
SMBIOS 2.6 present.
50 structures occupying 2049 bytes.
Table at 0x0009F400.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
        Vendor: American Megatrends Inc.
        Version: 080015
        Release Date: 09/08/2009
        Address: 0xF0000
        Runtime Size: 64 kB
        ROM Size: 1024 kB
        Characteristics:
                ISA is supported

saya tambahkan sedikit tools sederhana yang coba saya tulis sendiri ..save saja dengan nama hti.sh

Code:
#!/bin/bash

#var1
bios="`dmidecode | head -15`"
mb="`dmidecode -t baseboard`"
ram="`lspci | grep RAM`"
usb="`lspci | grep USB`"
vga="`lspci | grep VGA`"
ether="`lspci | grep Ethernet`"
merah="[\033[1;31m\]"
color="[\033[1;0m\]"

function hit() {
echo "|===============================|"
echo "|      Hardware info tools      |"
echo "|       writen by zee eichel    |"
echo "|===============================|"
echo " Bios information "              
echo " --------------------"
echo "$bios "
echo ""
echo "Motherboard type"
echo " -------------------"
echo " $mb "
echo ""
echo "RAM Information "
echo " -------------------"
echo " $ram "
echo ""
echo " USB Information "
echo " ---------------------"
echo " $usb "
echo ""
echo "VGA Information "
echo ""
echo " $vga "
echo ""
echo "Ethernet Information"
echo " ------------------------"
echo " $ether"
echo ""
echo "|------------------------------------|"
echo "|www.indonesianbacktrack.or.id  |"
echo "|------------------------------------|"
}

hit;

biar bisa di esekusi dengan alias ..

chmod +x hti.sh

tambahkan alias di .bashrc
./[dir]hti.sh
FOLLOW @DutaLinux
for more question and sharing about security and Opensource only

#3
Ok Bro zee, thx banget, ane baca" dulu.
echo (attacked==1) ? defend : counter attack;

#4
[Image: close.gif]
Yang putih, yang seharusnya ber-aksi dan berbakat!
Linuxtivist blog


Thread Closed



Users browsing this thread: 1 Guest(s)