telnet

telnet 模拟 HTTP请求

时光总嘲笑我的痴心妄想 提交于 2019-12-01 01:49:29
telnet 模拟 HTTP 请求 ( windows 默认关闭,需要打开 telnet )   今天遇到了telnet 模拟 HTTP请求,这个其实很简单,若是第一次玩这个的话,会有些小小的迷茫, 接下来跟大家说一下详细的操作步骤: 需要建php文件   例: 模拟GET请求 GET /1.php HTTP/1.1 Host:localhost 模拟 POST 请求 POST /2.php HTTP/1.1 HOST:localhost Content-type:application/x-www-form-urlencoded content-length:20 //空行(这个地方是敲一个回车就行了的) act=query&name=ghost   打开cmd命令提示符 然后Telnet 主机地址 端口号:   例:     Telnet 127.0.0.1 80     敲回车键 , 出现这一画面 接着按 CTRL + 】 在敲一下回车 再然后去复制你写好的模拟请求,复制好之后回到上面这一步,点击鼠标右键、 这个图片忘记截图了,抱歉。 然后敲两下回车键。就会出现这样的结果 这个是 模拟 GET 请求 的结果。 以上就是 telnet 模拟 HTTP 请求 的操作流程。 POST请求也是这个操作流程 希望对大家有所帮助 来源: https://www.cnblogs.com

渗透测试笔记

╄→гoц情女王★ 提交于 2019-11-30 23:09:59
09.23 - 09.26|Xianyu233 2019/9/26 一个普通人的爱好 # OSI 七层网络模型 OSI七层网络模型 tcp/ip四层概念模型 对应的网络协议 应用层 应用层 HTTP FTP DNS 表示层 会话层 传输层 传输层 TCP UDP SCTP RTP 网络层 网络层 IP ARP RARP ICMP IGMP 数据链路层 网络接口层 物理层 # Msfconsole 使用笔记 Mestaploit是一款开源的安全漏洞漏洞检测工具 # 常用命令 background //处于后台 session -i index //与会话进行交互 quit //推出会话 shell //获得控制台权限 upload /root/Desktop/netcat.exe c:\\ //上传文件到目标 download nimeia.txt /root/Desktop //下载文件到本机 execute -H -i -f cmd.exe //创建新进程cmd.exe sysionfo //查看目标系统信息 shutdown //关机 keyscan_start //开启键盘记录 keyscan_dump //提取键盘记录 keyscan_stop //关闭键盘记录 webscam_snap //从指定的摄像头拍摄照片 # 可以利用的模块 445 端口 : exploit

linux服务器管理

£可爱£侵袭症+ 提交于 2019-11-30 22:08:08
1、找出目前系统开启的网络服务有哪些? netstat -tulp 2、找出所有的有监听网络的服务(包含socket状态) Netstat -lnp 3、查看所有的服务状态 Service –-status-all Ps aux 查看系统所有的进程 Chkconfig --list 查看系统中自启动的程序,是RPM包安装的服务 查看源码安装的位置,一般是在/usr/local 其中默认的位置有哪些呢? 服务的分类: 设置自启动 (1)Chkconfig --level 运行级别 独立服务名 on|off (2)修改/etc/rc.d/rc.local文件 (3)使用ntsysv命令管理自启动 基于xinetd的服务管理 安装xinetd和telnet 然后使用chkconfig --list查看 在/etc/xinetd.d目录下存放着基于的xinetd的程序 注意:xinetd本身就一个服务,在此服务的基础上管理其他的程序,这样的好处是节约内存资源,但是启动服务的过程有点慢。 启动telnet服务: Vim telnet 改好之后,重启xinetd服务即可 世界本来就很邋遢,还有什么可以害怕。加油。 来源: https://www.cnblogs.com/FyJianc/p/11642354.html

java simple telnet client using sockets

一个人想着一个人 提交于 2019-11-30 21:22:42
I have read plenty of things on the topic, how telnet is a protocol, not a simple socket connection, waiting for newline characters, use of external libraries and whatnot... The bottom line is that I need a quick and dirty java telnet application up and running, not necessarily scalable and not necessarily pretty, so I'm trying to avoid the use of libraries, system function calls and the like. I have been trying and testing and so far, when trying to log into a router (through telnet of course) I have got... nothing. Here is a snipped of the code that I have been using so far, please someone

The IP you're using to send mail is not authorized to send email directly to our servers

点点圈 提交于 2019-11-30 20:18:50
hi i wanted to send mail via smtp protocol to one of my gmail's accounts... i tried but finally it occurred and error : telnet> open alt4.gmail-smtp-in.l.google.com 25 Trying 74.125.131.27... Connected to alt4.gmail-smtp-in.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP b4si2095585vdw.57 - gsmtp HELO stackoverflow.com 250 mx.google.com at your service MAIL FROM: <test@stackoverflow.com> 250 2.1.0 OK b4si2095585vdw.57 - gsmtp RCPT TO: <■■■■@gmail.com> // filtered ;) 250 2.1.5 OK b4si2095585vdw.57 - gsmtp DATA 354 Go ahead b4si2095585vdw.57 - gsmtp test ok it done . 550-5.7.1 [5

How to unsupress local echo

試著忘記壹切 提交于 2019-11-30 19:09:18
I am trying to suppress the local echo of a password in a telnet session by sending 0xFF 0xFD 0x2D (IAC DO SUPPRESS_LOCAL_ECHO). This works fine. My trouble is enabling the local echo after the password. I am sending 0xFF 0xFE 0x2D (IAC DONT SUPPRESS_LOCAL_ECHO). But I don't see any of my commands that I type afterwards. I am using the MS Telnet program to connect. The IAC is describe here . The Suppress Local Echo is defined here During your telnet sessions in telnet.exe you can pop up the telnet prompt by pressing Ctrl + ] After that, type " set localecho " or " unset localecho " to switch

第09章文件系统选型-NFS网络文件及排错

孤街醉人 提交于 2019-11-30 18:00:28
第09章文件系统选型及NFS网络文件 9.1文件系统知识详解 9.1.1什么是文件系统 文件系统是对一个存储设备上的数据和元数据进行组织的一种机制。文件系统是在一个磁盘或分区上的组织文件方式的方法,是组织储存文件或者数据的方式,目的是易于查询和存储数据,因此,如果磁盘上没有文件系统也就无法储存数据,再磁盘分区后能够使用之前必须建立对应的文件系统才行。 文件系统是基于存储设备的,比如硬盘或者光盘,并且包含文件物理位置的维护,文件系统也可以说是虚拟数据或者网络数据的存储方法。 文件系统的分区格式创建文件系统才能存放数据,不同的分区。 Linux下常见的文件系统ext2,ext3,ext4,zfs,xfs和Reiserfs. Windows下常见的NTFS,FAT32 9.1.2文件系统选型简单介绍 1)SAS/SATA硬件文件系统选择: Reiserfs 大量小文件业务首选reiserfs Xfs 数据库业务。 xt4 视频下载,流媒体,数据库,小文件业务选择。 Ext2 蓝汛的cache业务,cdn网站加速业务,有缓存,没有日志,所以可以用。 9.2NFS的介绍 什么是NFS?NFS是Network File System的缩写,他的主要功能是通过网络让不同的主机系统之间乐意彼此共享文件或者目录,NFS客户端(一般为应用服务器,如web

How do I use TIdTelnet to send commands?

元气小坏坏 提交于 2019-11-30 16:13:27
问题 I am trying to simulate the "new identity" button in Vidalia (the Tor GUI) from my program. I asked about that, based on Rob Kennedy's answer, I tried this in my application: IdTelnet1.Host:='127.0.0.1'; IdTelnet1.Port:=9051; IdTelnet1.Connect(-1); IdTelnet1.SendCmd('SIGNAL NEWNYM'); But it has not worked for me. Even after I send the command, I get the same proxy. I am using Indy 9. I don't know whether I don't know how to use TIdTelnet or don't know how to send that specific command. 回答1:

How do I use TIdTelnet to send commands?

流过昼夜 提交于 2019-11-30 15:53:11
I am trying to simulate the "new identity" button in Vidalia (the Tor GUI) from my program. I asked about that , based on Rob Kennedy's answer, I tried this in my application: IdTelnet1.Host:='127.0.0.1'; IdTelnet1.Port:=9051; IdTelnet1.Connect(-1); IdTelnet1.SendCmd('SIGNAL NEWNYM'); But it has not worked for me. Even after I send the command, I get the same proxy. I am using Indy 9. I don't know whether I don't know how to use TIdTelnet or don't know how to send that specific command. You cannot use the SendCmd() method with TIdTelnet. TIdTelnet uses an internal reading thread that

How can I open a telnet connection and run a few commands in C#

蹲街弑〆低调 提交于 2019-11-30 14:47:41
问题 IS this straightforward? Does any one have any good examples? All my google searches return items on how to make telnet clients in dotNet but this overkill for me. I'm trying to do this in C#. Thanks! 回答1: C# 2.0 and Telnet - Not As Painful As It Sounds http://geekswithblogs.net/bigpapa/archive/2007/10/08/C-2.0-and-Telnet---Not-As-Painful-As-It.aspx 回答2: For simple tasks (such as connecting to a specialized hardware device with telnet-like interface) connecting via socket and just sending and