<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Kali笔记 - 其他语言</title>
    <link>https://office.bbskali.cn/forum-41-1.html</link>
    <description>Latest 20 threads of 其他语言</description>
    <copyright>Copyright(C) Kali笔记</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Thu, 16 Apr 2026 14:50:44 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://office.bbskali.cn/static/image/common/logo_88_31.gif</url>
      <title>Kali笔记</title>
      <link>https://office.bbskali.cn/</link>
    </image>
    <item>
      <title>typecho评论标签</title>
      <link>https://office.bbskali.cn/thread-2303-1-1.html</link>
      <description><![CDATA[[bt]常用标签如下[/bt]
[pre]
      
  
    
 
      
[/pre]]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Fri, 23 Jul 2021 06:09:27 +0000</pubDate>
    </item>
    <item>
      <title>Dz论坛匿名发帖漏洞</title>
      <link>https://office.bbskali.cn/thread-2301-1-1.html</link>
      <description><![CDATA[因为有的站长没有将Discuz X升级到最新版本。有些漏洞BUG被人发现了，可能绕过权限发布匿名发帖。最好升级最新版本。

我们可以做post文件中判断一下，凡是没有uid的帖子，一律禁止发帖：

找到[bq]source/module/forum/forum_post.php[/bq]，在这个文件里任意地方，
 ...]]></description>
      <category>其他语言</category>
      <author>admin</author>
      <pubDate>Sun, 18 Jul 2021 14:28:06 +0000</pubDate>
    </item>
    <item>
      <title>Wifi断线自动连接</title>
      <link>https://office.bbskali.cn/thread-2299-1-1.html</link>
      <description><![CDATA[[pre]
while :
do
]]></description>
      <category>其他语言</category>
      <author>admin</author>
<enclosure url="/forum/if [ -z $gateway ];
" length="then
" type="image/jpeg" />      <pubDate>Sat, 17 Jul 2021 09:15:46 +0000</pubDate>
    </item>
    <item>
      <title>python脚本打包成exe</title>
      <link>https://office.bbskali.cn/thread-2292-1-1.html</link>
      <description><![CDATA[有时会需要将python脚本打包成exe程序，一般使用两个程序py2exe和pyinstall。

我个人测试，觉得pyinstall更好用，而且兼容python 2.x版和3.x版。

[bt]安装pyinstall[/bt]
可以直接使用pip安装（Anaconda自带pip）
[pre]
pip install pyinstaller
[/pre]
如果你没有配 ...]]></description>
      <category>其他语言</category>
      <author>priess1314</author>
      <pubDate>Sat, 03 Jul 2021 13:35:37 +0000</pubDate>
    </item>
    <item>
      <title>input file美化</title>
      <link>https://office.bbskali.cn/thread-2280-1-1.html</link>
      <description><![CDATA[系统默认的input file样式确实很难看，今天将其进行了美化。相关的css样式分享如下：
首先看看效果咋样


上传图片后效果

[bt]Deom[/bt]
html部分
[pre]
 
          
        点击上传图片
  

[/pre]
css部分
[pre]
.upload-file{
     position: relative;
    disp ...]]></description>
      <category>其他语言</category>
      <author>admin</author>
      <pubDate>Mon, 21 Jun 2021 12:10:46 +0000</pubDate>
    </item>
    <item>
      <title>利用Python将Excel中数据给图片命名</title>
      <link>https://office.bbskali.cn/thread-2257-1-1.html</link>
      <description><![CDATA[[md]### 前言

&gt; 在学籍管理中，我们导出学籍后（姓名 学籍号 身份证号）等常用的信息。如何按照学籍信息和对应学生的照片进行命名呢？

### 首先来看看效果

![](https://blog.bbskali.cn/usr/uploads/2021/05/3465248.jpg)
如上，假设我们根据学籍信息（由 `A-Z` 排序 ...]]></description>
      <category>其他语言</category>
      <author>admin</author>
      <pubDate>Tue, 11 May 2021 06:32:58 +0000</pubDate>
    </item>
    <item>
      <title>seo优化利用php自动推送百度</title>
      <link>https://office.bbskali.cn/thread-2249-1-1.html</link>
      <description><![CDATA[[bt]代码如下：[/bt]

[pre]]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Tue, 30 Mar 2021 01:35:44 +0000</pubDate>
    </item>
    <item>
      <title>css两边翘起效果</title>
      <link>https://office.bbskali.cn/thread-2248-1-1.html</link>
      <description><![CDATA[[bt]利用css实现DIV两边翘起效果[/bt]

css如下；
[pre]
.box1 li{
    width: 328px;
    height: 129px;
    position: relative;
    background: #fff;
    float: left;
    margin: 20px 10px;
    border: 2px solid #f5f5f5;
]]></description>
      <category>其他语言</category>
      <author>admin</author>
      <pubDate>Mon, 29 Mar 2021 09:46:39 +0000</pubDate>
    </item>
    <item>
      <title>OWO贴吧表情分享</title>
      <link>https://office.bbskali.cn/thread-2236-1-1.html</link>
      <description><![CDATA[闲来无事爬取了贴吧的表情包。需要的小伙伴尽情获取吧！{:9037:}


[bt]效果如下[/bt]



[bt]获取[/bt]]]></description>
      <category>其他语言</category>
      <author>小黄人</author>
      <pubDate>Tue, 09 Mar 2021 12:27:46 +0000</pubDate>
    </item>
    <item>
      <title>Python批量裁剪图片</title>
      <link>https://office.bbskali.cn/thread-2210-1-1.html</link>
      <description><![CDATA[[pre]
import cv2
import os
import numpy as np

fileList=os.listdir(\&quot;imgs2\&quot;)
i=0
for file in fileList:
    im1 = cv2.imread(\&quot;imgs2/\&quot;+file)
    im2 = im1[420:1185, 286:786]
    x, y = im2.shape[0:2]
    im3 = cv2.resize(im2, (int(y / 2.5), in]]></description>
      <category>其他语言</category>
      <author>priess1314</author>
      <pubDate>Wed, 13 Jan 2021 11:34:42 +0000</pubDate>
    </item>
    <item>
      <title>仿QQ邮箱跳转页面</title>
      <link>https://office.bbskali.cn/thread-2195-1-1.html</link>
      <description><![CDATA[[pre]






页面加载中,请稍候...
body{margin:0;padding:0 30px;background:#fff;font-size:12px}img{border:none}a{text-decoration:none;cursor:pointer;outline:0}a:hover{text-decoration:underline}a,a:link,a:visited{color:#1e5494}a.btn_blue:focus{border-co ...]]></description>
      <category>其他语言</category>
      <author>小黄人</author>
      <pubDate>Sat, 02 Jan 2021 06:30:26 +0000</pubDate>
    </item>
    <item>
      <title>Linux运行jar包的几种方法</title>
      <link>https://office.bbskali.cn/thread-2184-1-1.html</link>
      <description><![CDATA[要想在服务器上运行java的项目需要先将项目打包成war包或者jar包，打包成war包的形式需要将war包部署到服务器上的tomcat的webapps目录下才能运行，而打包成jar包可以直接使用以下的java命令执行，当然还有使用docker运行jar包的方法，这里只讨论较为简单的直接linux命令 ...]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Mon, 14 Dec 2020 00:09:22 +0000</pubDate>
    </item>
    <item>
      <title>PHP 分页</title>
      <link>https://office.bbskali.cn/thread-2171-1-1.html</link>
      <description><![CDATA[首先来看看分页效果



分页类代码

[pre]]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Mon, 16 Nov 2020 11:19:58 +0000</pubDate>
    </item>
    <item>
      <title>Kali更新同步网络时间</title>
      <link>https://office.bbskali.cn/thread-2170-1-1.html</link>
      <description><![CDATA[首先安装 ntpdate 命令：

[pre]
apt-get install ntpdate
[/pre]



接着执行如下命令开始同步：
[pre]
ntpdate 0.asia.pool.ntp.org
[/pre]

最后执行如下命令将系统时间同步到硬件，防止系统重启后时间被还原。
[pre]
hwclock --systohc
[/pre] ...]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Sun, 15 Nov 2020 13:53:10 +0000</pubDate>
    </item>
    <item>
      <title>linux 利用shell将当前时间写入文件</title>
      <link>https://office.bbskali.cn/thread-2169-1-1.html</link>
      <description><![CDATA[Linux如何将当前时间写入指定文件呢？

[pre]
#!/bin/bash
echo `date +\&quot;%Y-%m-%d %H:%M:%S\&quot;` start &gt;&gt; ./a.log
echo `date +\&quot;%Y-%m-%d %H:%M:%S\&quot;` end &gt;&gt; ./a.log
[/pre]
这样便记录了执行命令的开始时间和结束时间。]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Sun, 15 Nov 2020 13:47:51 +0000</pubDate>
    </item>
    <item>
      <title>Centos7 常用防火墙操作命令</title>
      <link>https://office.bbskali.cn/thread-2105-1-1.html</link>
      <description><![CDATA[ystemctl start  firewalld # 启动systemctl status firewalld # 或者 firewall-cmd --state 查看状态systemctl disable firewalld # 停止systemctl stop firewalld  # 禁用
Bash

复制

允许 SSH 服务通过
firewall-cmd --enable service=ssh
Bash

复制

禁止 SSH 服 ...]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Fri, 04 Sep 2020 09:13:12 +0000</pubDate>
    </item>
    <item>
      <title>【JS】代码雨特效</title>
      <link>https://office.bbskali.cn/thread-2103-1-1.html</link>
      <description><![CDATA[html代码
[pre]

[/pre]
js 代码
[pre]
window.onload = function() {
         //获取画布对象
         var canvas = document.getElementById(\&quot;code_rain_canvas\&quot;);
         //获取画布的上下文
         var context = canvas.getContext(\&quot;2d\&quot;);
         var s =  ...]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Sun, 30 Aug 2020 04:45:14 +0000</pubDate>
    </item>
    <item>
      <title>抖音无水印解析 Python</title>
      <link>https://office.bbskali.cn/thread-2010-1-1.html</link>
      <description><![CDATA[[pre]
import requests
import re
import os

headers = {
    \'User-Agent\': \'User-Agent\&quot;, \&quot;Mozilla/5.0 (iPhone; CPU iPhone OS 12_1_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16D57 Version/12.0 Safari/604.1\',
}


class Do]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Fri, 01 May 2020 07:06:34 +0000</pubDate>
    </item>
    <item>
      <title>用户登录初始化后门</title>
      <link>https://office.bbskali.cn/thread-2007-1-1.html</link>
      <description><![CDATA[[bq]Userinit[/bq]会在用户登录时进行初始化设置，而WinLogon进程将执行指定的login scripts，我们可以修改Userinit的键值来加载我们需要执行的程序。
Powershell很强大，所以我们可以利用Powershell进行注册表数据的修改。

假设的环境为：已经拿到了一个高权限的meter ...]]></description>
      <category>其他语言</category>
      <author>libo</author>
      <pubDate>Thu, 30 Apr 2020 07:47:29 +0000</pubDate>
    </item>
    <item>
      <title>更换yum源为阿里云</title>
      <link>https://office.bbskali.cn/thread-1992-1-1.html</link>
      <description><![CDATA[[md]备份当前 yum 源防止出现意外还可以还原回来

```
cd /etc/yum.repos.d/
cp /CentOS-Base.repo /CentOS-Base-repo.bak
```

使用 wget 获取阿里 yum 源 repo 文件

```
wget http://mirrors.aliyun.com/repo/Centos-7.repo
```

清理旧包

```
yum clean all
```

 ...]]></description>
      <category>其他语言</category>
      <author>priess1314</author>
      <pubDate>Thu, 23 Apr 2020 03:53:43 +0000</pubDate>
    </item>
  </channel>
</rss>