Tag:Script

  • Conduct nginx log early warning through nailing robot (suspected attack request)

    Time:2022-5-6

    1. First, establish a group chat on the nail 2. Group settings – > intelligent group assistant – > Add robot – > get webhook, where access_ The token parameter can directly replace the XXXXXX requested by curl below. 3. Run the script directly and start monitoring the warning information Here is the script code […]

  • Lua script to get MP3 Audio address

    Time:2022-5-5

    It can run directly under Linux ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 #!/usr/bin/lua5.1 –Luacurl http://luacurl.luaforge.net/ –luajson https://github.com/mbalmer/luajson require(“luacurl”) require(‘json’) […]

  • [unity] opencv plus unity obtain the camera in unity and call OpenCV to grayscale the instance

    Time:2022-5-2

    preface There are few tutorials related to opencv plus unity. There are many of OpenCV, but there are few relevant tutorials applied on unity. For example, there are few paid opencv for unity. At present, the economy is limited, so we can only choose a smaller number of OpenCV plus unity. There are even no […]

  • be careful! Monitor whether MySQL service is normal. Just understand these four methods

    Time:2022-5-2

    Source: http://blog.chinaunix.net/uid-90618-id-5846539.html?utm_source=tuicool&utm_medium=referral Monitor whether the MySQL service is normal. The general idea is: check whether port 3306 is started, PS check whether the mysqld process is started, log in to MySQL from the command line, return the result of the execution statement, detect PHP or JSP programs (developers are required to develop programs), etc; Method […]

  • 10 recommended Python code habits

    Time:2022-5-1

    In daily work, we need to write many scripts and small projects, share some experience and code habits, be subjective, take care of ourselves, and seek common ground while reserving differences. Use tqdm package to check the processing progress. Complex situations can be consideredfastprogress There are too many parameters and you want the terminal to […]

  • Create a simple deployment system based on webhook

    Time:2022-4-30

    Installing nodejs To install nodejs, it is recommended to download the binary package directly and copy the 64 bit binary version download address on the official website for execution wget https://nodejs.org/dist/v6.9.2/node-v6.9.2-linux-x64.tar.xz xzUnzip the file in the following command: xz -d xxx.tar.xzAdd XXX tar. Unzip XZ into XXX tar tar xvf xxx.tarCome and unpack After decompression, […]

  • Tool | monitor the latest vulnerability POC / exp artifact of GitHub

    Time:2022-4-29

    Article toSource:Timeline Sec Tool: GitHub CVE monitor Description: monitor the vulnerability of CVE number project added on GitHub, push nail or server paste Author:[email protected] sec SRC group Project address: https://github.com/yhy0/github-cve-monitor Wechat push mode 1. Open server sauce http://sc.ftqq.com/9.version You can get your sckey by scanning the wechat code and logging in Sckey is very important, […]

  • Extract count / fpkm / TPM matrix from stringtie results

    Time:2022-4-28

    Stringtie official websitePrepde is provided Py file, which is used to extract the expression matrix gene_ count_ matrix. CSV and transcript_ count_ matrix. csv. By modifying prepde Part of the code of Py can extract fpkm and TPM in the same way.If you are too lazy to look at the code and change the code, […]

  • Mysql database authorization (I)

    Time:2022-4-28

    1、 Obtain MySQL login account and password 1. Database authorization needs to know the account and password of the database and its configuration files. Generally, the configuration files are in the root directory of the website. The names of these configuration files have distinctive characteristics, such as Conn, config, data, SQL, common, Inc, etc   […]

  • Py crawl to a website live broadcast Collection – work needs, live broadcast

    Time:2022-4-26

    Before viewing this article, you need to understand the following techniques Five steps of a reptilea) Requirements analysis, programmer, artificial intelligenceb) Find content related URL programmersc) Get the return information program (urllib, requests) of the web address according to the web addressd) Locate the required information location program (re regular expression, XPath, CSS selector)e) Stored […]

  • Common errors in script execution: build Sh: caller: not found

    Time:2022-4-26

    1 Bash and dash Starting from Ubuntu 6.10, dash (the Debian Almquist shell) is used instead of bash (the GNU Bourne again shell) by default, but the login shell is still bash The reason is that dash is faster and more efficient, and it complies with the POSIX specification. Ubuntu will run a lot of […]

  • Linux Installation Cassandra (non clustered stand-alone version)

    Time:2022-4-26

    downloadhttps://mirrors.tuna.tsinghua… Download to where you need it wget https://mirrors.tuna.tsinghua.edu.cn/apache/cassandra/3.11.11/apache-cassandra-3.11.11-bin.tar.gz Then unzip Then it is not possible to directly enter the following startup command ./bin/cassandra -f Will report an error Expr: syntax error: unexpected parameter ‘2’ Expr: syntax error: unexpected parameter ‘2’ ./cassandra: 59: [: Illegal number: ./cassandra: 63: [: Illegal number: ./cassandra: 67: [: Illegal […]