axetroy / sms-boom Goto Github PK
View Code? Open in Web Editor NEW利用chrome的headless模式,模拟用户注册进行短信轰炸机
利用chrome的headless模式,模拟用户注册进行短信轰炸机
有些网站会报错,在添加些新的网站吧
v2的计划列表
/usr/local/lib/node_modules/smsboomer/index.js:46
app.init(async () => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/usr/local/lib/node_modules/smsboomer/bin/boomer:4:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
安装没有问题,执行命令时报上述错误。ubuntu17.10系统
xx@ubuntu:~$ uname -a
Linux ubuntu 4.13.0-16-generic #19-Ubuntu SMP Wed Oct 11 18:35:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
xx@ubuntu:~$ nodejs -v
v6.11.4
[13044]: start.
Error: Failed to launch chrome!
/usr/local/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/usr/local/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:211:14)
at Interface.helper.addEventListener (/usr/local/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:200:50)
at Interface.emit (events.js:164:20)
at Interface.close (readline.js:381:8)
at Socket.onend (readline.js:154:10)
at Socket.emit (events.js:164:20)
at endReadableNT (_stream_readable.js:1054:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
at process._tickCallback (internal/process/next_tick.js:180:9)
[13044]: Exit with code 0.
$ smsboomer 1519xxxxxx
[524]: start.
Downloading Chromium...
Boomer init fail...
{ TimeoutError: Promise timed out after 10000 milliseconds
at Timeout.setTimeout [as _onTimeout] (D:\software\node\node_modules\smsboomer\node_modules\p-timeout\index.js:27:54)
at ontimeout (timers.js:469:11)
at tryOnTimeout (timers.js:304:5)
at Timer.listOnTimeout (timers.js:264:5) name: 'TimeoutError' }
[524]: Exit with code 1.
I'm submitting a ... (check one with "x")
Current behavior
Expected behavior
More detail
Please tell us about your environment:
书丛:http://m.shucong.com/register
迪卡侬:https://www.decathlon.com.cn/zh/create
企查查:http://www.qichacha.com/user_register
麦付宝:https://www.maifupay.com/register
粉笔网:http://fenbi.com/web/signup
中瑞财富:https://www.zrcaifu.com/register
乾贷网: https://www.qiandw.com/Account/RegisterNew
微盟:https://account.weimob.com/register
互亿无线:http://user.ihuyi.com/register.html
不知道叫啥的教育网站:http://study.enaea.edu.cn/customRegisterRedirect.do
凡科建站:http://jz.faisco.com/reg.html
联拓天际:http://caigou.51book.com/caigou/manage/designatedRegistryNewSignon.in
如果想同时轰炸多个号码?有什么建议啊?
谢谢
环境:
[root@vultr ~]# cat /etc/redhat-release
CentOS Linux release 7.4.1708 (Core)
在vultr上购买的vps,系统为Cent7 x64,新建boom用户搭建了node.js环境并运行sms-boom
ssh连接工具为xshell,运行方法为第一种:以CLI命令运行
问题:
关于如何停止sms-boom运行:
在unix系统上,按Ctrl+C可以停止进程并有退出进程的提示,且后台无其它子进程。
但在直接关闭ssh连接后,再次连接vps并用ps查看进程,会发现smsboomer的进程已经不存在,但是后台还残留其它的进程。
比如:
1.以用户boom运行软件:
[boom@vultr ~]$ smsboomer 151XXXXXXXX
process 4346 start.
[INFO]: 打开浏览器...
[INFO]: 进入到 聚合数据 https://www.juhe.cn/register
启动成功后查询进程,发现以sms-boom为父进程创建了子进程:(子进程有许多个)
[root@vultr ~]# ps -ef | grep 4346
boom 4346 4325 2 19:15 pts/0 00:00:01 node /home/boom/node-v9.2.0/bin/smsboomer 151XXXXXXXX
boom 4356 4346 3 19:15 ? 00:00:01 /home/boom/node-v9.2.0/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome --disable-background-networking --disable-background-timer-throttling --disable-client-side-phishing-detection --disable-default-apps --disable-extensions --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --disable-translate --metrics-recording-only --no-first-run --remote-debugging-port=0 --safebrowsing-disable-auto-update --enable-automation --password-store=basic --use-mock-keychain --user-data-dir=/tmp/puppeteer_dev_profile-sZ8T8i --headless --disable-gpu --hide-scrollbars --mute-audio
接着sms-boom被非正常关闭(比如我直接关闭ssh窗口),然后再次登录查看后台进程:
[root@vultr ~]# ps -ef | grep 4356
boom 4356 1 2 19:15 ? 00:00:02 /home/boom/node-v9.2.0/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome --disable-background-networking --disable-background-timer-throttling --disable-client-side-phishing-detection --disable-default-apps --disable-extensions --disable-hang-monitor --disable-popup-blocking --disable-prompt-on-repost --disable-sync --disable-translate --metrics-recording-only --no-first-run --remote-debugging-port=0 --safebrowsing-disable-auto-update --enable-automation --password-store=basic --use-mock-keychain --user-data-dir=/tmp/puppeteer_dev_profile-sZ8T8i --headless --disable-gpu --hide-scrollbars --mute-audio
boom 4359 4356 0 19:15 ? 00:00:00 /home/boom/node-v9.2.0/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome --type=zygote --headless --headless
boom 4431 4356 0 19:16 ? 00:00:00 /home/boom/node-v9.2.0/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome --type=gpu-process --headless --headless --gpu-preferences=GAAAAAAAAAAAAQAAAQAAAAAAAAAAAGAA --use-gl=swiftshader-webgl --gpu-vendor-id=0xffff --gpu-device-id=0xffff --gpu-driver-vendor=Google Inc. --gpu-driver-version=3.3.0.2 --gpu-driver-date=2017/04/07 --headless --service-request-channel-token=68E6B6230A3C8FE2C6046F3EC4D773D6
发现sms-boom进程已被关闭,但其创建的子进程仅是PPID被改为了1,并未被关闭(上述只是按PID搜索,若是用ps -ef | grep smsboomer
可查到更多子进程)
解决方法:
临时解决方法为批量把残留进程kill掉
ps -ef | grep smsboomer | grep -v grep | awk '{print $2}' | xargs kill -9
Error: Evaluation failed: DOMException: Failed to execute 'querySelector' on 'Document': '******' is no
t a valid selector.
想在服务器上跑,不想在自己本机上跑
2,描述你的想法或思路
在服务器项目使用npm install smsboomer -g
安装,然后直接 run
3,描述具体的实现过程
实现过程如上,遇到问题,貌似是pupeteer
安装遇到问题,然后又安装了 pupeteer,还是报同样的错误。
4,描述遇到的问题,包括正确信息,报错信息或得到的不正确的信息
在服务器项目npm install smsboomer -g
的报错:
➜ forGrandma git:(master) ✗ npm install smsboomer -g
/usr/bin/smsboomer -> /usr/lib/node_modules/smsboomer/bin/smsboomer
> [email protected] install /usr/lib/node_modules/smsboomer/node_modules/puppeteer
> node install.js
fs.js:902
return binding.mkdir(pathModule.toNamespacedPath(path),
^
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium'
at Object.fs.mkdirSync (fs.js:902:18)
at Object.downloadRevision (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/utils/ChromiumDownloader.js:101:10)
at Object.<anonymous> (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/install.js:50:12)
at Module._compile (internal/modules/cjs/loader.js:654:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:665:10)
at Module.load (internal/modules/cjs/loader.js:566:32)
at tryModuleLoad (internal/modules/cjs/loader.js:506:12)
at Function.Module._load (internal/modules/cjs/loader.js:498:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:695:10)
at startup (internal/bootstrap/node.js:201:19)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-12-14T10_40_02_987Z-debug.log
没有权限修改文件夹,我又修改了文件夹权限
chmod -R 777 /usr/lib/node_modules
再次安装还是得到一样的报错。
然后尝试先安装 pupeteer,
yarn add puppeteer -D
pupetter安装倒是成功的。
我还更新了 npm,还是不行。
5,有条件则贴出具体实现代码
实现代码如上
建议隐藏部分代码,或把一些部分改成配置文件防止技术滥用~
/usr/local/lib/node_modules/smsboomer/index.js:48
app.init(async () => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/usr/local/lib/node_modules/smsboomer/bin/smsboomer:4:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
I'm submitting a ... (check one with "x")
Current behavior
I have install smsboomer globally, when I run 'smsboomer xxxx', error pop up:
[INFO]: 进入到 向日葵 http://z.xiangrikui.com/zn/phone/submit?rand_key=224594
{ AssertionError [ERR_ASSERTION]: ERROR: networkIdleTimeout option is no longer supported.
at Console.assert (console.js:196:23)
at new NavigatorWatcher (/usr/local/lib/node_modules/smsboomer/node_modules/puppeteer/lib/NavigatorWatcher.js:27:13)
at Page.goto (/usr/local/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Page.js:464:21)
at App.run (/usr/local/lib/node_modules/smsboomer/app/app.js:115:27)
at <anonymous>
generatedMessage: false,
name: 'AssertionError [ERR_ASSERTION]',
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '==' }
Expected behavior
smsboomer xxx
can work.
More detail
I think this is because puppeteer is now update to 0.13.0, see this pr.
Please tell us about your environment:
macOS High Sierra
Node.js 9.2.0
[21561]: start.
TypeError: input.on is not a function
at new Interface (readline.js:199:11)
at Object.createInterface (readline.js:69:10)
at Promise (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:196:25)
at new Promise (<anonymous>)
at waitForWSEndpoint (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:195:10)
at Function.launch (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:133:39)
Error caught in uncaughtException event: { Error: spawn /usr/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome EACCES
at Process.ChildProcess._handle.onexit (internal/child_process.js:238:19)
at onErrorNT (internal/child_process.js:413:16)
at process.internalTickCallback (internal/process/next_tick.js:72:19)
errno: 'EACCES',
code: 'EACCES',
syscall:
'spawn /usr/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome',
path:
'/usr/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome',
spawnargs:
[ '--disable-background-networking',
'--disable-background-timer-throttling',
'--disable-client-side-phishing-detection',
'--disable-default-apps',
'--disable-extensions',
'--disable-hang-monitor',
'--disable-popup-blocking',
'--disable-prompt-on-repost',
'--disable-sync',
'--disable-translate',
'--metrics-recording-only',
'--no-first-run',
'--remote-debugging-port=0',
'--safebrowsing-disable-auto-update',
'--enable-automation',
'--password-store=basic',
'--use-mock-keychain',
'--user-data-dir=/tmp/puppeteer_dev_profile-1fdreR',
'--headless',
'--disable-gpu',
'--hide-scrollbars',
'--mute-audio' ] }
[21561]: Exit with code 0.
之前遇到的headless问题也解决了,不能用root用户运行 chrome 也解决了,一运行又出错,麻烦指引一下
pupper 是个好东西,nighmare也可以,而且nightmare速度更快。但是同样的模拟功能我用nightmare做会被频繁检测,用pupper却不会,不知道为啥
因为都是一些毫无技术含量的Dirty Job
挖坑完毕 😂
D:\sms-boom-master\bin>node smsboomer
module.js:549
throw err;
^
Error: Cannot find module 'caporal'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (D:\sms-boom-master\bin\smsboomer:2:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
[13768]: start.
Error: Failed to launch chrome!
/usr/lib/node_modules/smsboomer/node_modules/puppeteer/.local-chromium/linux-515411/chrome-linux/chrome: error while loading shared libraries: libXcomposite.so.1: cannot open shared object file: No such file or directory
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:211:14)
at Interface.helper.addEventListener (/usr/lib/node_modules/smsboomer/node_modules/puppeteer/lib/Launcher.js:200:50)
at Interface.emit (events.js:185:15)
at Interface.close (readline.js:379:8)
at Socket.onend (readline.js:152:10)
at Socket.emit (events.js:185:15)
at endReadableNT (_stream_readable.js:1101:12)
at process._tickCallback (internal/process/next_tick.js:114:19)
[13768]: Exit with code 0.
一般怎么样处理这个问题?
感觉你这个项目是借刀杀人呀。除了给手机号码使用者带来烦恼貌似没有正面的社会价值呀。
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.
Since we did not receive a CI status on the greenkeeper/initial
branch, we assume that you still need to configure it.
If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/
.
We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
module.js:538
throw err;
^
Error: Cannot find module 'caporal'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\xxx\nodejs_learn\sms-boom-master\bin\smsboomer:2:17)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
mart.coding.net
Error: Evaluation failed: DOMException: Failed to execute 'querySelector' on 'Document': '13800000000' is not a valid selector.
at selector (:1:23)
at ExecutionContext.evaluateHandle (C:\Users\Administrator\node_modules\puppeteer\lib\ExecutionContext.js:66:13)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
TypeError: Cannot read property 'type' of null
at Page.type (C:\Users\Administrator\node_modules\puppeteer\lib\Page.js:798:17)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
新手路过
Downloading Chromium...
Boomer init fail...
{ TimeoutError: Promise timed out after 300000 milliseconds
at Timeout.setTimeout [as _onTimeout] (/Users/levo/.nvm/versions/node/v8.11.3/lib/node_modules/smsboomer/node_modules/p-timeout/index.js:27:54)
at ontimeout (timers.js:498:11)
at tryOnTimeout (timers.js:323:5)
at Timer.listOnTimeout (timers.js:290:5) name: 'TimeoutError' }
96311: Exit with code 1.
可有大侠指导如何使用
系统
[root@vultr ~]# cat /etc/redhat-release
CentOS release 6.9 (Final)
我执行以下命令来安装nodejs 和 npm
yum info epel-release
sudo yum install epel-release
sudo yum install nodejs
sudo yum install npm
安装好的版本信息
[root@vultr ~]# node -v
v0.10.48
[root@vultr ~]# npm -v
1.3.6
我在执行PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1 npm install smsboomer -g
遇到错误
npm http GET https://registry.npmjs.org/smsboomer
npm http 200 https://registry.npmjs.org/smsboomer
npm http GET https://registry.npmjs.org/smsboomer/-/smsboomer-1.4.0.tgz
npm http 200 https://registry.npmjs.org/smsboomer/-/smsboomer-1.4.0.tgz
npm http GET https://registry.npmjs.org/axios
npm http GET https://registry.npmjs.org/caporal
npm http GET https://registry.npmjs.org/chalk
npm http GET https://registry.npmjs.org/fs-extra
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/p-retry
npm http GET https://registry.npmjs.org/p-timeout
npm http GET https://registry.npmjs.org/progress
npm http GET https://registry.npmjs.org/puppeteer
npm http GET https://registry.npmjs.org/axetroy/context
npm http GET https://registry.npmjs.org/axetroy/graceful
npm http 304 https://registry.npmjs.org/fs-extra
npm http 304 https://registry.npmjs.org/lodash
npm http 304 https://registry.npmjs.org/chalk
npm http 304 https://registry.npmjs.org/progress
npm http 304 https://registry.npmjs.org/axios
npm http 304 https://registry.npmjs.org/caporal
npm http 304 https://registry.npmjs.org/p-timeout
npm http 304 https://registry.npmjs.org/p-retry
npm http 304 https://registry.npmjs.org/puppeteer
npm http 404 https://registry.npmjs.org/axetroy/context
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:108:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 2.6.32-696.10.2.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "smsboomer" "-g"
npm ERR! cwd /root
npm ERR! node -v v0.10.48
npm ERR! npm -v 1.3.6
npm ERR! type non_object_property_load
npm http 404 https://registry.npmjs.org/axetroy/graceful
npm ERR! TypeError: Cannot read property 'latest' of undefined
npm ERR! at next (/usr/lib/node_modules/npm/lib/cache.js:687:35)
npm ERR! at /usr/lib/node_modules/npm/lib/cache.js:675:5
npm ERR! at saved (/usr/lib/node_modules/npm-registry-client/lib/get.js:148:7)
npm ERR! at /usr/lib/node_modules/graceful-fs/polyfills.js:133:7
npm ERR! at Object.oncomplete (fs.js:108:15)
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Linux 2.6.32-696.10.2.el6.x86_64
npm ERR! command "node" "/usr/bin/npm" "install" "smsboomer" "-g"
npm ERR! cwd /root
npm ERR! node -v v0.10.48
npm ERR! npm -v 1.3.6
npm ERR! type non_object_property_load
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0
是我配置的不对吗?
TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
at Keyboard.type (E:\Node\短信轰炸\sms-boom\node_modules\puppeteer\lib\Input.js:106:24)
at ElementHandle.type (E:\Node\短信轰炸\sms-boom\node_modules\puppeteer\lib\ElementHandle.js:106:31)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)
SIGINT received
http://www.jaja123.com/web/register
https://passport.yhd.com/passport/register_input.do
https://passport.xidibuy.com/reg/index
https://passport.ingping.com/reg/index?retUrl=https%3A%2F%2Fwww.ingping.com
http://www.happigo.com/register/
http://www.homekoo.com/zhixiao/cuxiao/index.php (页面底部)
http://login.haodou.com/register.php (拖动到最右边进行验证)
http://mall.slswd.com/register!toPc.htm (拖动到最右边进行验证)
https://passport.zhe800.com/users/signup (拖动到最右边进行验证)
I'm submitting a ... (check one with "x")
Current behavior
1.有些已经发送成功了,但是终端显示failed!
2.需要Node.js8.3.0+,否则会报如下错误:
已提交更新README的PR。
Expected behavior
1.正确提示是否发送成功。
2.声明需要依赖的Node.js版本
More detail
附上我测试的一些图,挺给力的:
Please tell us about your environment:
masOS Sierra 10.12.6 全局安装,在终端中使用。
$ ./smsboomer 1333333333
module.js:549
throw err;
^
Error: Cannot find module 'caporal'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (D:\sms-boom-master\bin\smsboomer:2:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
I'm submitting a ... (check one with "x")
Current behavior
Expected behavior
More detail
Please tell us about your environment:
I'm submitting a ... (check one with "x")
Current behavior
Expected behavior
More detail
Please tell us about your environment:
v1正式版草案:
动态加载provider 34ffc58
从Github中动态加载代码,通过VM模块运行。这样的好处就是,即便增加了provider,也不用更新cli。因为是动态加载的了
暂时放弃动态加载,采用命令行更新,运行命令
smsboomer update
完善的错误提示
提示哪些provider可以发送成功,那些发送失败
Chominum镜像安装
由于Puppeteer是从官方地址下载Chominum镜像,速度会很慢,甚至无法下载,目前正在寻找镜像,如果有,欢迎告知...
缓存Chromium fe3ad15
防止重复安装,然后又安装失败
Chominum更友好的下载提示 1a7dbd3
如果下载失败(网络原因),会打印出Chominum的下载地址。可以在别的地方手动下载,并且解压
在运行阶段,检测是否已安装Chromium,如果没有,则进行下载 e749094
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.