原创 animation 閃爍效果 實測

.commodity-sign-wrap{ animation:blink 1s infinite; -webkit-animation:blink 1s infinite; /*Safari and Chrome*/ } @key

原创 django debug=false admin或者xadmin功能時, 一部分 css和js文件無法加載

要明白,在開發django的時候,如果設置了 DEBUG = True,django便會自動幫我們對靜態文件進行路由; 但是當我們設置DEBUG = False後,這一功能便沒有了,因此靜態文件就會出現加載失敗的情況,想要讓靜態文件正常顯

原创 centos裏安裝nginx1.16.1 & nginx反向代理 端口映射

各種依賴 #gcc安裝,nginx源碼編譯需要 yum install gcc-c++ #PCRE pcre-devel 安裝,nginx 的 http 模塊使用 pcre 來解析正則表達式 yum install -y pcre pcr

原创 Django 前後臺交互注意

from django.http import JsonResponse def test(request): result = {"status":"錯誤","data":"","city":"北京"} return

原创 kali下的Metasploit升級更新至5.0.62

apt-get remove metasploit-framework apt-get install metasploit-framework 但是會出現各種問題 重裝失敗,顯示找不到需要的軟件,更換source源後重新安裝。 vim

原创 package docker-ce-3:19.03.9-3.el7.x86_64 requires containerd.io 1.2.2-3, but none of the provide

 package docker-ce-3:19.03.9-3.el7.x86_64 requires containerd.io >= 1.2.2-3, but none of the provide 進入阿里雲鏡像地址:https:/

原创 There were 371 failed login attempts since the last successful login.

想看看哪些人沒事來你家試着開鎖嗎 grep "Failed password for invalid user" /var/log/secure | awk '{print $13}' | sort | uniq -c | sort -n

原创 python manage.py db migrate ERROR [root] Error: Target database is not up to date.

1、找到alembic(數據庫中的數據表)的最新版本號,       找到文件夾migrate下的最新版本,文件名即爲最新版本號(去掉末尾的_)。      更新數據庫表alembic_version裏version_num的字段,將該字

原创 msfconsole 更新完畢無法運行 You must use Bundler 2 or greater with this lockfile.

[i] Database already started [i] The database appears to be already configured, skipping initialization You must use Bu

原创 ssrf漏洞 CTF

掃描 /index.php /robots.txt User-agent: * Disallow: /webshe11231231231.php http://*:8016/index.php?url=www.baidu.com htt

原创 記錄一次CTF

1、facebook註冊一個賬戶測試 http://****:8306/view.php?no=12%27 報錯%27  '  [*] query error! (You have an error in your SQL syntax

原创 記錄CTF-二次注入

1、註冊 zz\     zz\    用轉義符來斷開 You have an error in your SQL syntax; check the manual that corresponds to your MySQL serve

原创 vue項目提示TypeError: e.call is not a function

最近運行vue項目老是提示TypeError: e.call is not a function 一運行到該頁面就會提示這個錯誤,雖然頁面功能都沒受到影響,但是是個隱患,也煩人, 一層層刪除掉組件,可最後任然提示錯誤 查詢文檔發現是定義了

原创 js小數和百分數的轉換

一、百分數轉化爲小數 function toPoint(percent){ var str=percent.replace("%",""); str= str/100; return str; } 二、小數轉

原创 CentOS 使用 runserver 啓動服務器後,常駐後臺運行 監控端口 殺死進程

nohup python manage.py runserver 0.0.0.0:9000 & &可以不寫  nohup不行 nohup python manage.py runserver 0.0.0.0:9090 > /home/st