Google Search API Worms

谷歌搜索引擎API使用 1. 搜索引擎API 接口地址为 https://www.googleapis.com/customsearch/v1?key={YOUR_KEY}&q={SEARCH_WORDS}&cx={YOUR_CX}&start={10}&num={10} 通过谷歌可编程搜索引擎自定义个人搜索引擎,并且记住搜索引擎的 CX id。 创建后即可根据项目中的api id,查询链接 console.cloud.google.com 根据CX id和 api id,即可调用定义好的搜索引擎 阅读详情
原始连接: http://www.gnucitizen.org/blog/google-search-api-worms

One of the main disadvantages of all AJAX application is the lack of cross domain request capabilities. In simple words, a web object from one site cannot access another one from a different site. The reason for this security feature is hidden deeply inside every modern browser security sandbox which is responsible for keeping your personal information private and safe.

Unfortunately, with the rise of AJAX enabled application the need to break out the security sandbox receives a lot of enthusiastic support among AJAX developers. Even Google, one of the biggest AJAX evangelist today, provides JavaScript APIs to allow developers to mashup their services with Google’s enormous capabilities. As a result Google unconsciously enables various types of worms to craw and exploit the web.

The service that concerns me the most is Google AJAX Search API, the new JavaScript powered search widget. In this article I will cover how to mashup with Google’s new service in a very simple way and explain why and how it can be used by web malware to propagate. The source code provided in this article will be available in the next AttackAPI 0.7 release.

First of all it is essential to understand how to use the API. The technique is quite simple actually. It involves the usage of a SCRIPT element which carries a request to Google the JSON way. For example:

<script>
function myCallback(a, b, c, d) {
alert(b.results[0].title);
}
</script>
<script src=" http://www.google.com/uds/GblogSearch?callback=myCallback&context=0&lstkp=0&rsz=small&hl=en&q=Google&key=internal-documentation&v=0.1" src="text/javascript"></script>Upon execution the code above returns the title of the first section from the result set and displays it in an alert box. The reader may expand on that technique.

Going back to the example, the entire logic is carried by the SCRIPT element. There are several important bits in the SCRIPT URL that need to be understood. The first one is the callback field. This is the name of the function that handles the request. The second import field is the key. Google has flexible system where keys are issued per URL. In this example the key is the generic one that can be found in all examples from Google. The last important bit is the actually query. This holds the terms that will be evaluated by Google. When loaded by the browser the SCRIPT element evaluates the content pointed by the URL in its “src” attribute. This results in a function call to the callback.

That is all that is required in order to make Google queries via JavaScript. There is a minor restriction introduced by Google though. There is no way to go deeper into the result set. Google will give you only the results that it believes are the most interesting and nothing more. However, this restriction can be easily circumvented by introducing diversity in the query terms. For example “intranet ext:aspx”, “admin ext:aspx” and “aspx ext:asxp” produce different results and they all refer to *.aspx files. So by using query fuzzer which randomizes the search phrase more results can be extracted.

Knowing how to use Google AJAX Search API is only one side of the story. The other one and probably the most interesting one is how this can be used by web worms. Let’s have a look on a couple of examples.

Web worms can use Google’s infrastructure to propagate. If a malicious mind finds a vulnerability in WordPress for example and this vulnerability allows SQL Injection, a worm may be written to craw blogs in search for this vulnerability and embed itself into everything that is vulnerable. Once a user visits an infected blog the worm starts another cycle.

Another worm might be able to craw random sites and run generic Cross-site Scripting and SQL Injection checks and send the results to their master who will use them to release more advance worms.

Malicious minds can use Google technology and recently discovered vulnerabilities to create a BotNet that can be used for computational tasks, attacks, information gathering and pretty much everything else that the masters can come up with.

Unfortunately, I am just the messenger. Although I am not aware of any worms available that make use of this technique I won’t be surprised if I see one in a month or two’s time. Malicious Active content in Web Pages, Flash, QuickTime and PDF has suddenly become one of the biggest threats.

In my mind I picture a protection system similar to what we have with today’s AntiVirus agents; a signature scanner that goes through every page we visit. A Firefox extension that can do that can be quite handy. 
从零开始:如何使用Google Search API进行智能搜索 Google Search API 是一个非常强大的工具,可以让您的应用程序具备强大的搜索功能。通过配置和正确使用,您可以轻松集成到各种项目中。Google API 文档Langchain 详细文档。 阅读详情

相关推荐

使用Google搜索API的完整指南:从设置到结果提取

通过这篇文章,我们学习了如何设置和使用Google搜索API。对于更复杂的项目,您可能需要深入了解API的文档和高级功能。

dsndnwfk的博客 2334

google search API 获取

Google Search API主要用于谷歌搜索API调用。

张某文_Lambda的博客 9619

google-search-api:一个简单的谷歌搜索 API

谷歌搜索API 简单的谷歌搜索 API。 要求 使用 querystring query向端点发出一个简单的GET请求,如下例所示: curl https://googlesearch.herokuapp.com/api/search ? query=maru+the+cat 回复 带有title 、 blurb和link的结果数组: [ { "title" : "Maru (cat) - Wikipedia, the free encyclopedia" , "blurb" : "Maru (まる, Japanese: circle or round; born May 24, 2007) is a male Scottish Fold \n(straight variety) cat in Japan who has become popular on Yo

使用Google Search API的简单步骤(主要参考自API文档)

参考文献:Google AJAX Search API的类文档:http://code.google.com/intl/zh-CN/apis/ajaxsearch/documentation/reference.html#_class_GlocalResult第一步:构造一个搜索服务“容器” google.search.SearchControl 的实例代表页面上的一个搜索控件,这个控件是

jubincn的专栏 1万+

手把手教你用VCS+VERDI搭建数字IC验证环境(附Makefile避坑指南)

本文详细介绍了如何使用VCS编译器和VERDI调试工具搭建数字IC验证环境,涵盖从RTL设计到波形分析的全流程。重点解析了Makefile自动化构建、FSDB波形生成方法及常见问题解决方案,帮助工程师高效完成验证工作。特别提供了VCS编译参数配置和VERDI调试技巧的实用指南。

weixin_33738578的博客 450

反相器(inverter)和缓冲器(buffer)---附加与非门原理图

下面是对反相器(Inverter)和缓冲器(Buffer)从面积、驱动能力、时序等多个角度的详细对比,列出的是一般情况下的比较,具体情况可能会受到工艺节点、设计库和特定设计要求的影响。缓冲器(Buffer)是数字电路中常见的逻辑门之一,用于增强信号的驱动能力,而不改变信号的逻辑状态。如下图所示的CMOS反相器,由一个NMOS和PMOS组成,栅端gate相连作为输入端Vin,漏端相连作为输出端Vout,NMOS的源端接地,PMOS的源端接电源VDD.与反相器不同,缓冲器的输出与输入保持相同的逻辑状态。

hzmscut的博客 1万+

探索Google Search API:轻松实现API调用的技巧与挑战

可以通过调整k参数来设置想要返回的结果数。本文介绍了如何设置和使用Google Search API,并提供了可用于搜索和获取结果元数据的Python代码示例。Google Search API 官方文档Langchain社区文档。

stjklkjhgffxw的博客 1446

USB PD快充功率监测仪:高精度嵌入式USB电压电流测量终端

USB供电已从数据接口演进为关键电源总线,尤其在PD快充场景下,工程师亟需对5V–20V宽压范围内的实时电压、电流及瞬时功率进行精准捕获。其底层原理依赖高共模抑制比的高边电流检测与分压采样+ADC数字化处理,结合LDO低噪声供电保障模拟链路精度。该类设备的技术价值在于以低成本实现协议无关的‘电气层可视化’,规避商用ASIC测试仪的黑盒局限,支撑PD充电验证、电源设计调试与教学实验等工程实践。本文介绍的开源USB表即基于N32G430 MCU与INA199电流检测芯片,覆盖USB-C输入/输出双通道监测,具备

weixin_42174098的博客 210

【亲测免费】 推荐项目:Google Search API

推荐项目:Google Search API 项目简介 Google Search API 是一个实用的工具,它允许开发者通过编程方式访问 Google 搜索引擎,并获取与搜索查询相关的数据。 项目用途 Google Search API 可以用于以下场景: 数据分析:通过分析 Google 搜索结果,可以了解某个主题或关键字的趋势、相关性等信息。 自动化搜索:您可以使用此 API 自动执行搜索...

gitblog_00009的博客 950

【open judge】【程设】魔兽世界三开战!

#程设 魔兽世界三---开战!--------原以为会很容易ac,没想到写了好久,看来自己的水平还是亟待提高啊!有几个比较有趣的点:1. typeid(#include&lt;typeinfo&gt;)还是比较好用的,特别是本题当战士为wolf,iceman, dragon, ninja时有特殊技能,那么用typeid判断一下就很方便了。2. 对于这种输出很复杂的问题,往往通过使用文件的输入输出再...

weixin_40841416的博客 6073

微信小程序 - 最新图片组拖拽排序更换位置功能,类似微信朋友圈九宫格图片的拖动排序效果,微信小程序实现九宫格图片拖拽调换位置,小程序详细实现图像拖曳拖动切换位置排序功能(详细示例代码,一键复制开箱即用

微信小程序,wechat,小程序,图片排序,图像排序,九宫格拖拽排序,拖曳,拖动,拖拽,仿微信朋友圈,朋友圈宫格图片排序,微信朋友圈图片拖动排序效果,实现九宫格图片拖拽,图像拖拽排序组件插件,小程序实现拖拽图片切换图片位置,图片拖动互换位置,图像拖拽切换位置,九宫格图片组合拖动排序,交换九宫格图片的位置,小程序上传图片后,如何实现拖拽排序功能,小程序怎么实现图片拖拽排序,微信小程序图片上传,九宫格拖拽组件,选择图片并拖动_微信小程序图片拖拽,微信小程序长按拖拽排序,图像的拖拽移动,多图拖拽排序功能,实现九宫

✅ 精选推荐文章 4457

[如何利用Google Search API进行智能搜索:从入门到实践]

本文介绍了如何设置和使用Google Search API进行智能搜索。通过灵活使用API,开发者可以在应用中轻松集成Google搜索功能,为用户提供更丰富的内容体验。

wedrftghgfdsa的博客 3316

【unity实战】Unity手搓脚本工具实现合并网格功能

本文介绍了在Unity中优化网格性能的方法,通过合并重复网格减少绘制调用。主要使用Mesh.CombineMeshes方法实现网格合并,支持统一材质和多材质处理。核心内容包括:1)基础合并脚本实现,将子网格合并到父对象并禁用原网格;2)统一材质设置,支持自定义或默认材质;3)多材质合并方案,通过设置mergeSubMeshes=false保留子网格材质索引。文章还提供了完整代码示例和操作演示,适用于实际项目中的网格优化需求。

向宇的博客,专注php/web全栈 unity游戏开发,欢迎大家评论纠错 561

Google Search

Google Search API(Custom Search JSON API)是 Google 提供的一种 API,允许开发者在自己的应用或网站中集成 Google 搜索功能。它可以返回 Google 搜索结果,包括网页、图片、新闻等,并支持自定义搜索引擎(CSE,Custom Search Engine)。

weixin_47420447的博客 3964

IDEA出现闪退或打不开的解决方法

本身项目比较大,为了打开这个软件,可调节IDEA中安装的bin目录下有个。打开IDEA的时候过一会便闪退,可以再IDEA的右下角看到如下提示。(如果没有该提示,软件右下角也会有个红色感叹号,点开查看原因即可)闪退的多数原因大致是out of memory,内存溢出。查看任务管理器中的进程:(发现内存随时有溢出的情况)但也需要注意,该参数并不是越大越好,适中即可。只有个别原因是需要管理员权限就可执行!可以尽量减少软件的启动。

码农研究僧的博客 5945

RK3399平台开发系列讲解(外设篇)交换芯片RTL8306M

网络:交换芯片RTL8306M 电路: make menuconfig 配置: 目录:arch/arm64/configs/rk3399_b201_defconfig CONFIG_FIXED_PHY=y 设备树: arch/arm64/boot/dts/rockchip/rk3399-b201-rev1.dts 时钟: Open之后首先校验网卡mac地址是否正确(stmmac_chec...

内核笔记 2394

Google Search API

使用 Google Ajax Search API 的准备工作 毋庸置疑,Google 仍然是在线时代极其重要的应用。上至老奶奶,下至四岁小孩,即使不理解网上的其它东西是怎么回事,也一定知道 Google。Google 运行着如此流行、如此有用的搜索引擎,并且致力于提供(几乎全部)免费的服务,所以毫不奇怪,它能提供可以在您自己的程序中使用的公共 API。在本节中,...

weixin_34351321的博客 388

Statistics and Machine Learning Toolbox

Statistics and Machine Learning Toolbox(带书签),MATLAB统计学习工具

Google SERP API 对接说明

如果您自定义搜索资源的类型,我们可以修改参数action,它分别包含了普通资源search、图片资源images、新闻资源news、地图资源maps、地区资源places、视频资源videos,本文将以视频资源videos做一个示范。下面我们来演示下具体的操作。首先,将action参数设置为videos,并正常传递query参数,如图所示:-d '{}'},},},},},],},},},},],},},},},},],},},],",- Quora",

mynameonly的博客 2027

lwip-2.0.3

lwip是瑞典计算机科学院(SICS)的Adam Dunkels 开发的一个小型开源的TCP/IP协议栈。实现的重点是在保持TCP协议主要功能的基础上减少对RAM 的占用。

OV9734 DATASHEET,完整规格书

OV9734完整规格书,包括电气参数,尺寸规格,寄存器配置表等

使用Google Search API进行高效信息检索:从入门到实践

通过本文的介绍,你应该对如何配置和使用Google Search API有了清晰的认识。Google Search API官方文档Google Programmable Search Engine指南。

jaioyfpo的博客 807

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

**如何使用Google Search API进行高效的编程搜索**

本文介绍了Google Search API的基本使用方法和示例代码。通过正确配置和调用API,开发者可以轻松集成Google搜索功能。Google Cloud官方文档Python编程语言官方文档。

qq_29929123的博客 807

【免费下载】 推荐:Python Google Search API——无限制的搜索引擎工具箱

在当今这个信息爆炸的时代,能够高效搜索信息至关重要。今天,我们为您推荐一个强大的开源工具——**Python Google Search API**,这是一款无需任何外部依赖即可直接使用的非官方谷歌搜索接口。无论是开发者、研究人员还是普通用户,它都能成为您探索网络世界的得力助手。 ## 项目介绍 **Python Google Search API**,顾名思义,是专为Python设计的,能进...

gitblog_00789的博客 3818

Google Custom Search API使用详解

最近工作不是很忙,利用业余时间学习了google的文档。Google对外提供的API功能十分强大,由于篇幅有限,这里仅说一下Google Custom Search API。这个api提供了搜索的功能,可以搜索图片和文字信息,并以Json的形式返回结果。我们在实际开发中无需引入任何Jar包,仅需调用google的服务即可,非常的好用,下面我会以一个demo项目的形式。 首先Google的东西

我是Alvin家鸡鸭鱼的小米米 1万+

[如何使用Google Search API进行Python编程搜索]

Google Search API提供了一种从程序中访问Google搜索结果的方式。通过配置必要的API凭据,开发者可以在应用程序中集成强大的搜索功能。使用Google API需要通过Google Cloud和Programmable Search Engine进行设置,这样我们就可以利用Google搜索的强大功能来获取实时的信息。

azzxcvhj的博客 818

使用Google搜索API进行有效查询

Google搜索API允许开发者通过编程方式访问Google搜索引擎。这对于需要在应用程序中集成搜索功能或从Google搜索获取实时数据的项目非常有用。我们可以利用API进行具体查询,获取搜索结果并分析数据。

lirxx的博客 513

Google (Local) Search API的简单使用

花了两天的时间来用Google的API来做这么一个小东西,其实真正的实现代码不是很多,十几行而已。费时间的工作是了解各个API的功能以及调试JavaScript。 下面简单介绍一下这次我用到的几个函数吧。构造函数google.search.LocalSearch() 这其实是创建了一个LocalSearch的Service,这个Service和其他Service(News,

jubincn的专栏 5198

如何使用谷歌搜索API来获取结果

前言 最近需要爬取一些 google 搜索结果,首先看的就是有没有相关的 API,官方有提供 API 查询,但爬取量有一定限制。 太长不看版 接口地址为 https://www.googleapis.com/customsearch/v1?key={YOUR_KEY}&q={SEARCH_WORDS}&cx={YOUR_CX}&start={10}&num={10} KEY 从 谷歌云 API 控制台 来的,需要有外币卡先注册谷歌云账号。但似乎付费的话就不用这个 KEY 了

安全不止 9821
上一篇: SQL Injection规避入侵检测技术总结
下一篇: 简介绕过DarkSpy的方法
iiprogram
博客等级 码龄25年 1068粉丝 1515原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值