sniffer

Detect if website visitor has toolbars installed eg. Google toolbar using javascript

不想你离开。 提交于 2019-12-20 01:46:58
问题 I am working on an online education website that frequently uses pop up windows. This is part of a learning management system from a third party provider so not possible to change the way this works. We get lots of helpdesk calls with users stuggling with popup blockers - in their OS, browser settings and additional toolbars. I am using javascript to sniff browser and OS so we can display appropriate pop up blocker instructions onscreen. Is it possible to do similar technique to detect

Best way to analyze http traffic sent by my java code?

杀马特。学长 韩版系。学妹 提交于 2019-12-19 07:27:11
问题 I have some java code both new (using Apache commons http libraries) and old (strictly using java 1.4 API) and am trying to rewrite the old code using the newer apache commons libraries. However, it isn't working and I'm struggling to find out why. The requests are being sent, but my newer code times out on the receiving server which I don't have access to. Since the old code works, I must have mucked up the http request. It would be very useful to use some sort of HTTP traffic sniffer to

Bluetooth sniffer - preferably mac osx

牧云@^-^@ 提交于 2019-12-17 21:44:26
问题 I am trying to find a bluetooth packet sniffer to capture bluetooth signals from close by devices. I would like for this application to work on mac osx. I have had difficulty finding anything at all so my requirements are low right now - something that shows signal strength and mac address would be a good start. 回答1: Actually, Xcode does not include the bluetooth utilities by default. You need to open Xcode, go to Xcode>Open Developer Tool>More developer tools, then login with your Apple

Packet sniffing in Python (Windows)

谁说我不能喝 提交于 2019-12-17 08:53:36
问题 What is the best way to sniff network packets using Python? I've heard from several places that the best module for this is a module called Scapy, unfortunately, it makes python.exe crash on my system. I would assume that it's just a problem with how I installed it, except that many other people have told me that it doesn't work particularly well on Windows. (If anyone is interested, I'm running Windows Vista, which might affect things). Does anyone know of a better solution? UPD: After

Python Packet Sniffer and Sockets for Noobs

大城市里の小女人 提交于 2019-12-11 12:55:36
问题 So I have some questions about sockets and sniffer programming... I've just started programming and have a project where I would like to use information that is sent across my network. I tried watching several videos on youtube that talk about this process a little, and tried to find better material to research it further, but I haven't been able to find a source that makes sense to me. The code I included came from a video on youtube and seemed to make sense as they explained it, but I guess

Packet sniffer in Python

天大地大妈咪最大 提交于 2019-12-10 11:08:18
问题 I want to do a packet sniffer in Python 3.5 which captures UDP, TCP and ICMP. This is a short example of it: import socket import struct # the public network interface HOST = socket.gethostbyname(socket.gethostname()) # create a raw socket and bind it to the public interface s = socket.socket(socket.AF_INET, socket.SOCK_RAW, socket.IPPROTO_IP) s.bind((HOST,0)) # Include IP headers s.setsockopt(socket.IPPROTO_IP, socket.IP_HDRINCL, 1) # receive all packages s.ioctl(socket.SIO_RCVALL, socket

后渗透流程

假如想象 提交于 2019-12-10 07:33:57
后渗透流程 权限提升 绕过UAC msf模块 Exploit/windows/local/bypassuac Exploit/windows/local/bypassuac_injection Exploit/windows/local/bypassuac_vbs 系统提权 提高程序运行级别 msf模块(Exploit/windows/local/ask) 缺点:需要uac交互 后渗透信息收集 msf模块(post) 获取目标主机的分区情况: post/windows/gather/forensics/enum_drives 判断是否为虚拟机: post/windows/gather/checkvm 开启了哪些服务: post/windows/gather/enum_applications 查看共享: post/windows/gather/enum_shares 获取主机最近的系统操作: post/windows/gather/dumplinks 查看补丁: post/windows/gather/enum_applications enum_patches scraper 脚本 路径:/usr/share/metasploit-framework/scripts/meterpreter ( meterpreter下run scraper ) 保存信息的目录:/root/

使用Python来写网络包探嗅器

浪尽此生 提交于 2019-12-10 04:13:36
使用Python来写网络包探嗅器(Code a network packet sniffer in python for Linux) by Silver Moon Basic Sniffer Sniffers are programs that can capture/sniff/detect network traffic packet by packet and analyse them for various reasons. Commonly used in the field of network security. Wireshark is a very common packet sniffer/protocol analyzer. Packet sniffers can be written in python too. In this article we are going to write a few very simple sniffers in python for the linux platform. Linux because, although python is a portable, the programs wont run or give similar results on windows for example. This is

python/scapy DNS sniffer and parser

本小妞迷上赌 提交于 2019-12-09 22:55:26
问题 I have python/scapy sniffer for DNS. I am able to sniff DNS messages and get IP/UDP source and destination IP address and ports but I have problems parsing DNS part I would appreciate some help or solution to work this out. #!/usr/bin/env python from scapy.all import * from datetime import datetime import time import datetime import sys ############# MODIFY THIS PART IF NECESSARY ############### interface = 'eth0' filter_bpf = 'udp and port 53' # ------ SELECT/FILTER MSGS def select_DNS(pkt):

How to make a serial port sniffer sniffing physical port using a python

风格不统一 提交于 2019-12-08 20:22:54
问题 I have a PC Software (OS: Win 64bit) that communicates with a machine via physical serial port RS232 and I want to make a sniffer for that port using a python. Please note that I am beginner to serial ports. I've read multiple documents and questions posted online but most of them asks to just use 3rd-party software, but I cannot do this way because raw bytes have to be decoded into string message (I have my way own of decode/encode method). Currently I have setup like this: /////////////////