banner

[Rule] Rules  [Home] Main Forum  [Portal] Portal  
[Members] Member Listing  [Statistics] Statistics  [Search] Search  [Reading Room] Reading Room 
[Register] Register  
[Login] Loginhttp  | https  ]
 
Messages posted by: hoclinux  XML
Profile for hoclinux Messages posted by hoclinux [ number of posts not being displayed on this page: 3 ]
 

seamoun wrote:
Khi các bạn save mã khai thác này thì cần phải đặt tên và phần mở rộng của tập tin là netapi_ms06_040.pm . Sau đó copy vào C:\Program Files\Metasploit Framework\home\framework\exploits\ . Sau khi copy vào thư mục trên có thể dùng lệnh reload trong môi trường làm việc của Metasploit Framework để cập nhật bản exploit hoặc khởi động lại Metasploit Framework. 


Bạn làm sao biết được tên tập tin là netapi_ms06_040.pm mình đặt tên nó thành abc.pm được không vậy bạn ?
Mình có link sau http://milw0rm.com/exploits/3996 theo bạn mình đặt tên cho tập tin .pm này là gì ?
Mình muốn xóa bỏ hình viền màu xanh xung quanh các icon .PDF , Print , Email nhưng mình thử hoài với .CSS mà không được , mong được sự giúp đở chỉ bảo tận tình của anh em .




template_css.css
Code:
a {
color: #024AA6;
text-decoration: none;
}
a.sublevel {
padding-left: 3px;
}
a.sublevel#active_menu {
color: #FF6633;
text-decoration: none;
}
a:hover, a:active {
color: #EF9403;
text-decoration: underline;
}
a.pagenav {
font-weight: normal;
}
a.readon {
margin-top: 10px;
display: block;
float: left;
background: url(../images/mw_readon.png) top right no-repeat;
padding-right: 20px;
line-height: 14px;
height: 16px;
}
a.readon:hover, a.readon:active {
color: #EF9403;
text-decoration: none;
}
body {
margin: 0;
padding: 0;
color: #353535;
background: #FFFFFF;
font: 11px Tahoma, Arial, sans-serif;
}
body#bd {
margin: 5px 0;
background: url(../images/body-bg.gif) repeat-x top left #999999;
text-align: center;
}
body.contentpane {
margin: 12px;
}
div.moduletable {
width: auto!important;
width: 100%;
margin-bottom: 10px;
border: 1px solid #E6E6E6;
padding: 6px;
background-color: #EFEFEF;
}
div.moduletable h3 {
margin: -6px -6px 6px -6px;
padding: 4px 4px 4px 6px;
color: #666666;
background: url(../images/h3-bg.gif) #F7F7F7;
font-size: 11px;
font-weight: bold;
text-transform: UPPERCASE;
}
div.moduletable td {
padding: 3px 0!important;
}
div.moduletable-blue {
background: #024AA6;
}
div.moduletable-blue h3 {
background: url(../images/h3-blue-bg.gif) #024AA6;
}
div.moduletable-green {
background: #62AC02;
}
div.moduletable-green h3 {
background: url(../images/h3-green-bg.gif) #62AC02;
}
div.moduletable-orange {
background: #EF9403;
}
div.moduletable-orange .article_seperator {
display: none;
}
div.moduletable-orange a, div.moduletable-green a, div.moduletable-blue a {
color: #FFFFFF;
}
div.moduletable-orange h3 {
background: url(../images/h3-orange-bg.gif) #EF9403;
}
div.moduletable-orange h3, div.moduletable-green h3, div.moduletable-blue h3 {
margin: -6px -6px 6px -6px;
padding: 4px 4px 4px 6px;
color: #FFFFFF;
font-size: 11px;
text-transform: UPPERCASE;
}
div.moduletable-orange td, div.moduletable-blue td, div.moduletable-green td {
color: #FFFFFF;
}
div.moduletable-orange, div.moduletable-blue, div.moduletable-green {
width: auto!important;
width: 100%;
margin-bottom: 10px;
border: 1px solid #E6E6E6;
padding: 6px;
}
#spotlight-orange, #spotlight-green, #spotlight-blue {
float: left;
width: 243px!important;
width: 242px;
display: inline;
}
#spotlight-orange, #spotlight-green {
margin-right: 11px;
}
#spotlight-orange div.moduletable-orange, #spotlight-green div.moduletable-green, #spotlight-blue div.moduletable-blue {
height: 100px!important;
height: 120px;
}
fieldset {
border: 0;
margin: 0;
padding: 0;
}
fieldset a {
font-weight: bold;
}
form {
margin: 0;
padding: 0;
}
h1 {
margin: 10px 0;
color: #EF9C10;
font-size: 16px;
}
h1.header-logo {
margin: 0;
padding: 0 10px;
font-size: 20px;
z-index: 1;
}
h2 {
margin: 10px 0;
color: #EF9C10;
font-size: 14px;
}
h4 {
margin: 10px 0;
color: #666666;
font-size: 12px;
font-weight: bold;
}
hr {
border-top: 1px solid #D3CCC2;
border-right: 0;
border-left: 0;
border-bottom: 0;
height: 1px;
}
html {
height: 100%;
}
input {
margin-bottom: -1px;
font: 11px Arial, sans-serif;
}
ol {
margin: 12px auto;
}
p {
margin: 10px 0;
}
select {
font: 11px Arial, sans-serif;
}
table.contentpaneopen td, table.contentpane td {
padding: 0;
line-height: 140%;
}
table.contentpaneopen, table.contentpane, table.blog {
width: auto!important;
border-collapse: collapse;
border-spacing: 0px;
}
table.contenttoc {
border: 1px solid #EFEFEF;
margin: 0 0 10px 10px;
width: 180px;
background: #F7F7F7;
}
table.contenttoc td {
padding: 1px 6px 1px 16px;
background: url(../images/arrow.png) no-repeat 5px 7px;
}
table.contenttoc th {
padding: 4px 6px;
color: #024AA6;
}
table.moduletable {
width: 100%;
background: #FFFFFF;
}
table.polls {
padding: 0;
width: 100%;
text-align: left;
}
table.pollstableborder {
padding: 0;
width: 100%;
text-align: left;
}
table.pollstableborder img {
margin: 4px 4px 4px 0;
vertical-align: middle;
}
table.pollstableborder td {
padding: 2px 4px!important;
}
table.searchintro {
margin: 10px 0;
padding: 10px 0!important;
width: 100%;
border-top: 1px solid #999999;
border-bottom: 1px solid #999999;
}
table.searchintro td {
padding: 0 2px!important;
}
td {
font-size: 11px;
}
td.buttonheading {
padding-left: 5px!important;
}
textarea {
padding-left: 2px;
font: 11px/1.3em Arial, sans-serif;
}
th {
font-weight: bold;
font-size: 11px;
text-align: left;
}
tr.sectiontableentry1 td {
padding: 3px 4px;
border-bottom: 1px solid #EFEFEF;
}
tr.sectiontableentry2 td {
padding: 3px 4px;
border-bottom: 1px solid #EFEFEF;
background: #F7F7F7;
}
ul {
margin: 10px;
padding: 0;
list-style: none;
}
ul li {
padding-left: 12px;
background: url(../images/arrow.png) no-repeat 0 6px;
line-height: 140%;
}
ul#mainlevel li, ul#mainlevel-nav li {
padding: 0;
margin: 0;
background: none;
}
.adminform textarea {
width: 540px!important; /*Control the Frontend Editor area width*/
}
.adminform textarea.inputbox {
width: 440px!important; /*Control the Frontend Editor area width*/
}
.article_seperator {
display: block;
background: url(../images/seperator.gif) repeat-x top left;
}
.back_button {
margin-top: 12px;
width: 100%;
display: block;
text-align: right;
}
.back_button a {
color: #666666;
}
.banner {
float: right;
position: relative;
top: 12px;
right: 12px;
}
.barshadow {
padding: 2px;
margin: 0;
background: url(../images/shadow.gif);
}
.blog_more {
margin: 10px 0;
padding: 3px;
}
.button {
padding: 0 3px 0 3px;
border: 1px solid #999999;
margin-bottom: 2px;
background: url(../images/but-bg.gif) bottom #EFEFEF;
color: #FFFFFF;
font: 11px Arial, sans-serif;
}
.category {
font-weight: bold;
font-size: 12px;
}
.code, pre {
border: 1px solid #F0EEDE;
width: auto;
padding: 6px;
background: #F7F6EE;
font: 11px Arial, sans-serif;
}
.componentheading {
padding: 5px 6px;
margin-bottom: 12px;
color: #FFFFFF;
background: url(../images/navbar-bg.gif) #024AA6;
font-weight: bold;
text-transform: UPPERCASE;
}
.contentdescription {
padding: 0 0 12px!important;
height: auto;
}
.contentheading {
color: #666666;
font-size: 18px;
font-weight: bold;
}
.createdate {
padding-bottom: 10px!important;
color: #666666;
}
.error {
color: #B91919;
}
.highlight {
font-weight: bold;
}
.inputbox {
padding-left: 2px;
margin-bottom: 1px;
font: 11px Arial, sans-serif;
}
.message {
color: #EF9C10;
font-weight: bold;
font-size: 11px;
}
.modifydate {
height: 20px;
vertical-align: bottom;
font-size: .90em;
color: #999;
font-weight: normal;
text-align: left;
}
.mosimage {
padding: 0;
margin-right: 5px;
}
.mosimage img {
margin: 0 6px 0 0!important;
margin: 0 0 0 -6px;
}
.mosimage_caption {
margin-top: 2px;
color: #999999;
}
.pagenav {
padding: 2px;
}
.pagenav_prev a, .pagenav_next a {
color: #666666;
}
.pagenav_prev a:hover, .pagenav_prev a:active, .pagenav_next a:hover, .pagenav_next a:active {
color: #B91919;
text-decoration: none;
}
.pagenavbar {
padding-left: 16px;
background: url(../images/pages-icon.gif) no-repeat center left;
font-weight: bold;
}
.pagenavcounter {
padding: 0 16px 10px 16px;
color: #666666;
background: url(../images/pages-icon.gif) no-repeat 0 3px;
font-weight: bold;
}
.search input {
width: 98%;
}
.sectiontablefooter {
padding-bottom: 3px!important;
height: 20px;
}
.sectiontableheader {
padding: 3px 4px!important;
border-top: 1px solid #EFEFEF;
border-bottom: 1px solid #EFEFEF;
background: url(../images/h3-bg.gif) #666666;
color: #666666;
font-weight: bold;
}
.sectiontableheader a, .sectiontableheader a:hover {
color: #FFFFFF;
}
.small {
color: #666666;
}
#container {
width: 770px;
margin: 0 auto;
padding: 0;
border: 1px solid #666666;
background: #F7F7F7;
text-align: left;
}
#content {
float: left;
width: 545px!important;
width: 557px;
padding: 6px 6px;
border-top: 1px solid #EFEFEF;
border-right: 1px solid #DDDDDD;
border-bottom: 1px solid #DDDDDD;
border-left: 1px solid #EFEFEF;
display: inline;
background: #FFFFFF;
}
#content table.pollstableborder {
width: 540px!important;
border: none;
text-align: left;
}
#copyright {
padding: 5px 10px 5px;
margin: 0 auto;
width: 770px;
text-align: left;
}
#copyright a {
color: #222222;
}
#footer {
padding: 8px 6px 8px 0;
clear: both;
margin-top: 12px;
color: #ABABAB;
background: #084DAD;
text-align: left;
}
#footer a {
padding: 0 10px;
border-right: 1px solid #1A5CB1;
color: #B0CAEB;
}
#footer a:hover, #footer a:active {
color: #FFFFFF;
}
#footer li {
padding: 0;
display: inline;
background: none;
line-height: normal;
}
#header {
width: 100%;
background: url(../images/header_bg.jpg) #024AA6;
height: 80px;
position: relative;
}
#main {
width: 100%;
margin: 10px;
}
#pathway {
margin: 0;
padding: 5px 6px 3px 12px;
border-bottom: 2px solid #CCCCCC;
background: url(../images/subnav_bg.gif) #024AA6;
color: #222222;
font-size: 11px;
}
#pathway a {
padding-right: 13px;
background: url(../images/arrow-off.gif) no-repeat 100% 60%;
color: #666666;
}
#pathway a:hover, #pathway a:active {
background: url(../images/arrow-on.gif) no-repeat 100% 60%;
color: #222222;
text-decoration: none;
}
#pathway img {
visibility: hidden; /* DO NOT SHOW PATHWAY DEFAULT ARROW */
}
#rightcol {
width: 180px;
float: left;
margin-left: 10px;
}
#rightcol a.mainlevel {
padding-left: 12px;
background: url(../images/arrow.png) no-repeat 0 5px;
}
#rightcol ul, div.moduletable-orange ul, div.moduletable-green ul, div.moduletable-blue ul {
padding: 0;
margin: 0;
}
#topnav {
border-top: 1px solid #1A5CB1;
padding: 4px 0;
background: url(../images/navbar-bg.gif) repeat-x top #024AA6;
font-size: 12px;
text-align: left;
}
#topnav a {
border-right: 1px solid #1A5CB1;
padding: 6px 12px 5px 12px;
color: #FFFFFF;
font-weight: bold;
text-transform: UPPERCASE;
}
#topnav a#active_menu-top {
color: #EF9403;
text-decoration: none;
}
#topnav a:hover, #topnav a:active {
color: #EF9C10;
text-decoration: none;
}
#topnav li {
padding: 0;
display: inline;
background: none;
}
#topnav ul, #footer ul {
margin: 0;
padding: 0;
}
#overDiv {
border: 1px solid #C64934;
}
#user-bar {
float: right;
}
#user-bar a {
background-image: none;
padding: 0;
margin-right: 8px;
}
#user-bar a:hover, #user-bar a:active {
background-image: none;
}
.clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-table;}
/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */


wide_layout.css
Code:
#container {
width: 980px;
}
#content {
width: 756px!important;
width: 768px;
}
#spotlight-orange, #spotlight-green, #spotlight-blue {
float: left;
width: 313px!important;
width: 312px;
display: inline;
}
#copyright {
width: 980px;
}
Mình sử dụng template Joomlart.org



Làm thế nào để đưa mục Main Menu, Key Concepts sang bên trái nhưng không làm bể kích cở của site . Còn các mục Polls, Login Form, Who's Online thì để nguyên .

Code của tập tin index.php
<?php
defined( '_VALID_MOS' ) or die( 'Restricted access' );
$iso = explode( '=', _ISO );
echo '<?xml version="1.0" encoding="'. $iso[1] .'"?' .'>';

##### Begin Template Configurations #####
# change the width of the template
$width = "0"; // 1: 800x600; 0: 1024x768
# enable users option - ONLY ENABLE IF $WIDTH IS SET TO 1
$tool = "0"; // 1: Enable; 0: Disable
##### End Template Configurations #####

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<?php mosShowHead(); ?>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link href="<?php echo $mosConfig_live_site;?>/templates/jahadar/css/template_css.css" rel="stylesheet" type="text/css"/>
<?php if (!$width) { ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/jahadar/css/wide_layout.css" rel="stylesheet" type="text/css"/>
<?php }
if ($tool) { ?>
<link href="<?php echo $mosConfig_live_site;?>/templates/jahadar/css/wide_layout.css" rel="alternate stylesheet" type="text/css" title="wide"/>
<?php }
if ( $my->id ) { initEditor(); }
?>
<script language="javascript" type="text/javascript" src="<?php echo $mosConfig_live_site;?>/templates/jahadar/ja_script.js"></script>
<script language="javascript" type="text/javascript">
preloadimages("<?php echo $mosConfig_live_site;?>/templates/jahadar/images/arrow-on.gif","<?php echo $mosConfig_live_site;?>/templates/jahadar/images/arrow-off.gif");
</script>
</head>

<body id="bd" onload="preloadimages()">

<div id="container" class="clearfix">

<!-- BEGIN: HEADER -->
<div id="header">
<?php if ( mosCountModules( 'banner') ) { ?>
<span class="banner"><?php mosLoadModules('banner', -1); ?></span>
<?php } ?>
<h1 class="header-logo"><a href="index.php"><img src="<?php echo $mosConfig_live_site;?>/templates/jahadar/images/logo.jpg" border="0" height="80" width="253" alt="<?php echo $mosConfig_fromname?>" /></a></h1>
</div>
<div id="topnav">
<?php mosLoadModules('header',-1); ?>
</div>
<div id="pathway">
<?php if ($tool) { ?>
<?php } ?>
</div>
<div class="barshadow"></div>
<!-- END: HEADER -->

<!-- BEGIN: MAIN -->
<div id="main" class="clearfix">
<?php if ( mosCountModules( 'top') || mosCountModules( 'user1') || mosCountModules( 'user2') ) { ?>

<div style="margin: 0 0 10px; clear: both;">
<?php if ( mosCountModules( 'top') ) { ?>
<div id="spotlight-orange">
<?php mosLoadModules('top',-2); ?>
</div>
<?php } ?>

</div>
<?php } ?>
<!-- BEGIN: CONTENT -->
<div id="content" class="clearfix">
<?php mosMainBody(); ?>
</div>

<!-- END: CONTENT -->

<!-- BEGIN: RIGHT COLUMN -->
<div id="rightcol">
<?php
mosLoadModules('user5',-2);
mosLoadModules('user6',-2);
mosLoadModules('user7',-2);
mosLoadModules( 'user4', -2 );
mosLoadModules('left',-2);
mosLoadModules('right',-2);
?>
</div>
<!-- END: RIGHT COLUMN -->

<div id="main" class="clearfix">

<?php if ( mosCountModules( 'user1') ) { ?>
<div id="spotlight-green">
<?php mosLoadModules('user1',-2); ?>
</div>
<?php } ?>
<?php if ( mosCountModules( 'user2') ) { ?>
<div id="spotlight-blue">
<?php mosLoadModules('user2',-2); ?>
</div>
<?php } ?>

<!-- BEGIN: FOOTER -->
<div id="footer">
<?php mosLoadModules('bottom', -1); ?>
</div>
<!-- END: FOOTER -->
</div>


<div id="copyright">
<?php include_once( $GLOBALS['mosConfig_absolute_path'] . '/templates/jahadar/footer.php' ); ?>
</div>

<?php mosLoadModules( 'debug', -1 );?>
</body>

</html> 

Khi tôi apply patch kernel trên console
patch -p1 < /usr/src/linux/patch-2.6.19.2

thì xuất hiện những dòng sau
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway ? [n]

tạm dịch
patch đảo ngược (hoặc trước đó được áp dụng) được phát hiện ! Có muốn áp dụng -R không ?

Tôi thường tôi chọn n ở phần này
Vậy xin hỏi mục đích của những dòng thông báo trên là gì ? Trong trường hợp này việc tôi sử dụng chọn n có đúng hay không ?

Mr.Khoai wrote:
Đã có đoạn
gpg: Signature made Thu 27 Jul 2006 01:35:49 PM EDT using RSA key ID 10FDE075
gpg: Good signature from "wrowe@covalent.net"  
thì có nghĩa là hash của gói httpd đã được xác thực về mặt integrity. Tuy nhiên, signature này lại không được cung cấp bởi một "trusted third party". Để hiểu rõ hơn về PGP, signature, vân vân, bạn có thể google với keyword: pretty good privacy, asymetric encryption, digital signature.
khoai 


Thanks Mr Khoai

Tôi muốn cài đặt Apache trên server nào đó thì việc làm xác thực chữ ký trước khi biên dịch mã nguồn thì việc làm này có cần thiết hay không ? :cry: Nếu có thì tại sao nó lại cần thiết ?
Khi mình download Apache về cài đặt trên localhost, mình thấy phần Verify the integrity of the files
http://httpd.apache.org/download.cgi

Qua tìm hiểu mình thấy phải xác định chữ ký và thực tính của mã nguồn trước khi cài đặt mã nguồn thì mới "quan trọng" .

Mình cài đặt Apache nhiều lần nhưng đâu cần làm bước xác thực mã nguồn nhưng vẫn cài đặt bình thường .

Việc làm này (xác thực chữ ký và thực tính) có tác dụng như thế nào ?

#wget http://www.apache.org/dist/httpd/KEYS
#gpg --import KEYS
#gpg --verify httpd-2.2.3.tar.gz.asc
gpg: Signature made Thu 27 Jul 2006 01:35:49 PM EDT using RSA key ID 10FDE075
gpg: Good signature from "wrowe@covalent.net"
gpg: aka "William A. Rowe, Jr. <wrowe@rowe-clan.net>"
gpg: aka "wrowe@lnd.com"
gpg: aka "wrowe@apache.org"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: 33 16 9B 46 FC 12 D4 01 CA 6D DB D7 DE EA 4F D7

Nhìn vào thông báo ở trên vậy mình đã xác thực được mã nguồn rồi hay chưa . Xin cho lời khuyên .
 

Powered by JForum - Extended by HVAOnline
 hvaonline.net  |  hvaforum.net  |  hvazone.net  |  hvanews.net  |  vnhacker.org
1999 - 2013 © v2012|0504|218|