有些时候在系统突然断电或硬盘只读后在看机会出现报错,开机到不了登录界面,而是来到一个提示:Give root password for maintenance(or type Control-d to Continue):的界面。例:解决方法:1、输入root密码,先进入系统2、使用 df -Tk ...
分类:
系统相关 时间:
2014-10-14 11:10:28
阅读次数:
250
package com.entity;public class User { private String username; private String password; private Integer id; public String getUsername() { return use....
分类:
Web程序 时间:
2014-10-13 21:48:07
阅读次数:
225
1.漏洞获取方法1)扫描器扫描 2)乌云 3)线上服务漏洞样例:线上crm->管理员弱口令->后台上传头像处漏洞->上传php文件->进入内网->扫描内网拓扑->获得各种共享文件2.入侵原因1)好玩 2)拖库,目的,获得各种账号password。相同账号在其它地方的password有可能一致。3)删...
分类:
Web程序 时间:
2014-10-13 21:43:57
阅读次数:
243
oracle中imp命令具体解释 Oracle的导入有用程序(Import utility)同意从数据库提取数据,而且将数据写入操作系统文件。imp使用的基本格式:imp[username[/password[@service]]],下面例举imp经常使用用法。 1. 获取帮助 imp help=y...
分类:
数据库 时间:
2014-10-13 20:39:57
阅读次数:
288
time = $this->microtime_float();require_once("config.db.php");$this->connect($db_config["hostname"], $db_config["username"], $db_config["password"], $...
分类:
数据库 时间:
2014-10-13 18:58:07
阅读次数:
363
修改密码update user set password=password('') where user='root';FLUSH PRIVILEGES;远程访问权限:GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY '' WITH G....
分类:
数据库 时间:
2014-10-13 15:33:19
阅读次数:
202
??
grant replication slave on *.* to
'rep'@'172.17.1.%' identified by '12QAZXCvfr34';
change master to master_host='172.17.1.150',master_user='rep',master_password='12QAZXCvfr34',master_log_file='...
分类:
数据库 时间:
2014-10-13 15:02:39
阅读次数:
294
假设windows机器上有个共享文件夹"share",ip地址为xxxx,用户名:administrator,密码:0000则在linux上访问"share"文件夹为:格式一:mount-tcifs-ousername=administrator,password=0000//xxxx/share/home/win_share格式二:mount-tcifs//xxxx/share/home/win_share-ousername=..
一.expect实现自动填入密码1.vissh.exp.201#!/usr/bin/expectspawnssh-p20000oldboy@192.168.1.201/sbin/ifconfigeth0settimeout60expect"*password:"send"abcdef\n"expecteofexit2.chmod700ssh.exp.201#注。要是没有权限执行,也可以直接expect,700权限。防止其它用户查看脚本..
分类:
编程语言 时间:
2014-10-13 02:03:19
阅读次数:
287
kail linux以下postgresql startsudo -u postgres psql postgresalter user postgres with password 'toor'; 有分号!!用户名postgres 密码toor接下来直接连接msfdb_connect postg....
分类:
数据库 时间:
2014-10-12 22:59:38
阅读次数:
291