@byxiaoxie2年前

05/23
10:21
Home

OpenWrt Passwall 编译教程

声明:转载请带上文章作者[ByXiaoXie] 本教程不提供编译好的软件包下载,如果本教程有违反法律等行为,请联系站长进行删除 谢谢!
PassWall2 编译教程:https://www.byxiaoxie.com/?p=619
虚拟机系统 Ubuntu 20.04.1 硬盘80G 内存4G (ubuntu编译不可用root!)

使用[Lienol]的[OpenWrt]编译固件

OpenWrt:https://github.com/Lienol/openwrt
参考文章:https://github.com/xiaorouji/openwrt-passwall/discussions/1603
安装编译环境
Ubuntu:
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex quilt uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf

Source:
git clone -b 21.02 --single-branch https://github.com/Lienol/openwrt openwrt
添加Feeds源
vim feeds.conf.default
在最后一行加上:
src-git lienol https://github.com/Lienol/openwrt-package.git;main
src-git other https://github.com/Lienol/openwrt-package.git;other
src-git PWpackages https://github.com/xiaorouji/openwrt-passwall.git;packages
src-git PWluci https://github.com/xiaorouji/openwrt-passwall.git;luci
添加后更新Feeds
./scripts/feeds clean
./scripts/feeds update -a
添加UPX
wget https://github.com/upx/upx/releases/download/v3.96/upx-3.96-amd64_linux.tar.xz
tar -Jxf upx-3.96-amd64_linux.tar.xz
cd upx-3.96-amd64_linux
chmod +x upx
cd ..
cd openwrt/
cp /home/用户名/upx-3.96-amd64_linux/upx staging_dir/host/bin   //注意修改用户名别复制粘贴
更新Goleng
pushd feeds/packages/lang
rm -rf golang && svn co https://github.com/openwrt/packages/branches/openwrt-21.02/lang/golang
popd
安装Feeds
./scripts/feeds install -a
默认组件和配置菜单
make defconfig
make menuconfig
x86编译
Target System -> x86
Subtarget -> x86_64
Target Profile -> Generic x86/64
Target Images -> [*] Build VMware image files (VMDK) //我这里使用虚拟机测试使用所以选择VMware,其他的看自己需求需要编译什么包基本上默认的包就够

选择软件包 编译软件包 [*]内置
LuCI -> Applications -> <*> luci-app-passwall
LuCI -> Applications -> Configuration  //查看passwall的必要应用有没有选上,由于软件名问题这里我不列出来那些了
配置完成后预下载dl软件包
make download -j5 V=s  //使用5线程下载编译所需的软件包
下载完成后开始编译,第一次编译建议先使用单线程编译
make V=99  //单线程编译
make -j 12 V=99  //12线程编译
编译出来后的固件路径:/home/xiaoxie/openwrt/bin/targets/x86/64

OpenWrt Passwall 编译教程

@byxiaoxie2年前

05/18
17:57
Home

OpenWrt Passwall2 编译教程

声明:转载请带上文章作者[ByXiaoXie] 本教程不提供编译好的软件包下载,如果本教程有违反法律等行为,请联系站长进行删除 谢谢!
PassWall 编译教程:https://www.byxiaoxie.com/?p=629
虚拟机系统 Ubuntu 20.04.1 硬盘80G 内存4G (ubuntu编译不可用root!)

使用[Lienol]的[OpenWrt]编译固件

OpenWrt:https://github.com/Lienol/openwrt
安装编译环境和下载源代码
Ubuntu:
sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3.5 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex quilt uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf
下载源码并添加Feeds源
git clone -b 21.02 --single-branch https://github.com/Lienol/openwrt openwrt
cd openwrt/
vim feeds.conf.default
在最后一行加上: 
src-git lienol https://github.com/Lienol/openwrt-package.git;main
src-git other https://github.com/Lienol/openwrt-package.git;other
src-git PWpackages https://github.com/xiaorouji/openwrt-passwall.git;packages
#src-git PWluci https://github.com/xiaorouji/openwrt-passwall.git;luci  //如果是编译passwall2着不需要否则会加载重复软件包
src-git passwall2 https://github.com/xiaorouji/openwrt-passwall2.git
更新并安装Feeds
./scripts/feeds clean
./scripts/feeds update -a
./scripts/feeds install -a
默认组件和配置菜单
make defconfig
make menuconfig
x86编译
Target System -> x86
Subtarget -> x86_64
Target Profile -> Generic x86/64
Target Images -> [*] Build VMware image files (VMDK) //我用虚拟机测试所以选择VMware,其他的看自己需求需要编译什么包基本上默认的包就够
选择软件包 <M>编译软件包 [*]内置
LuCI -> Applications -> <*> luci-app-passwall2  //我需要编译passwall2所以passwall就不要选择了
LuCI -> Applications -> Configuration  //查看passwall的必要应用有没有选上,由于软件名问题这里我不列出来那些了
配置完成后预下载dl软件包
make download -j5 V=s  //使用5线程下载编译所需的软件包
下载完成后开始编译,第一次编译建议先使用单线程编译
make V=99  //单线程编译
make -j 12 V=99  //12线程编译
编译出来后的固件路径:/home/xiaoxie/openwrt/bin/targets/x86/64

 

OpenWrt Passwall2 编译教程

@byxiaoxie4年前

01/17
19:06
Home

Kaillerasrv – 街机联机搭建教程

街机模拟器 WinKawaks 1.65 (709合集)下载地址:https://pan.baidu.com/s/1DRRtgKofMCI8wxx3-ftn7w  提取码:nfoo
Kaillerasrv 0.86 服务端下载地址:https://pan.baidu.com/s/16AyC8AgatQRkL-D3_BhPlA  提取码:p3x9
服务端 [kaillerasrv.conf] 配置说明:

; Kaillera server config file

; ServerName can be up to 64 characters long.
; 服务器名称
ServerName=ByXiaoXie.Com
; Location can be up to 64 characters long.
; 设置国家地区
Location=China
; URL can be up to 128 characters long. (ex: http://www.mysite.com/)
;你的URL (可以不用设置保留空就可以了)
URL=https://www.byxiaoxie.com

; 最大用户数
MaxUsers=10
; 默认端口 27888 可自行修改
Port=27888

; Set Public to 0 if you want to run the server on a private LAN
; 是否公开搜索 (1 公网) (0局域网)
Public=1

; Use this parameter if you want to manually specify your server's
; IP address or leave blank for automatic
; (ex: IP=154.253.21.56)
; 设置成你的服务器公网IP 或 局域网联机设置成局域网IP
IP=192.168.1.100

; Messages flood protection
; FloodMsgNb is the max. number of times a same message has to
; be received in FloodMsgTime seconds.
; 防消息刷屏限制 [FloodMsgNb=5] 仅显示5条  [FloodMsgTime=3] 3秒发送一次
FloodMsgNb=5
FloodMsgTime=3

; Minimum ping restriction (in ms)
; 0=disabled
; 最小延迟限制 (0禁用)
MinPing=0

; Maximum connection setting restriction
; 0=disabled, 1=Bad, 2=Low, 3=Average, 4=Good, 5=Excellant, 6=LAN
; 连接限制 (一般默认0就可以了)
MaxConnSet=0

; Message of the Day
; Note that you can stack "MotdLine" options
; 进入服务器提示信息 (以下是我个人的配置)
MotdLine=Hello,Welcome to join [ByXiaoXie] Test Server
MotdLine=My Blog:https://www.byxiaoxie.com/

; AllowWebAccess (1=yes,0=no) 允许Web连接 (1 允许 0 不允许)
AllowWebAccess=1

; End of Kaillera server config file

 

Kaillerasrv – 街机联机搭建教程

@byxiaoxie4年前

11/5
20:37
Home

宝塔 PHP SSH2 扩展安装

安装 OpenSSL:

yum install -y openssl
yum install -y openssl-devel

编译安装 libssh2:

cd /usr/local/src
wget https://www.libssh2.org/download/libssh2-1.8.0.tar.gz
tar -zxvf libssh2-1.8.0.tar.gz
cd libssh2-1.8.0
./configure --prefix=/usr/local/libssh2
make && make install

编译安装 ssh2:

cd /usr/local/src/
wget https://pecl.php.net/get/ssh2-1.1.2.tgz
tar -zxvf ssh2-1.1.2.tgz
cd ssh2-1.1.2
/www/server/php/54/bin/phpize  (修改自己的对应PHP版本[我用的PHP54])
./configure --prefix=/usr/local/ssh2 --with-ssh2=/usr/local/libssh2 --with-php-config=/www/server/php/54/bin/php-config   (修改自己的对应PHP版本[我用的PHP54])
make && make install

SSH2编译安装后有一个路径提示记录下来 如:/www/server/php/54/lib/php/extensions/no-debug-non-zts-20100525/

修改PHP配置文件添加扩展:
vim /www/server/php/54/etc/php.ini

把ssh2的路径添加到尾行

extension=/www/server/php/54/lib/php/extensions/no-debug-non-zts-20100525/ssh2.so

添加后重启php然后查看[phpinfo]看下是否扩展安装成功或在控制台输入[php -m | grep ssh2]成功后返回[ssh2]失败返回空白,如果报错查看路径是否正确

ssh2 宝塔 PHP SSH2 扩展安装

ssh2 编译安装报错:

更换ssh2版本:
wget http://pecl.php.net/get/ssh2-0.12.tgz

 

宝塔 PHP SSH2 扩展安装

@byxiaoxie5年前

06/22
16:16
Home

Openwrt SDK编译软件包教程

Openwrt编译教程:https://www.byxiaoxie.com/?p=438

声明:转载请带上文章作者[ByXiaoXie] 本教程不提供编译好的软件包下载(需要请联系站长),如果本教程有违反法律等行为,请联系站长进行删除 谢谢!

编译环境:系统[Debian 9] 目标[bcm53xx] SDK[Openwrt 18.06.2]

SDK下载:https://openwrt.org/docs/guide-developer/using_the_sdk

注意:不能使用root用户编译

安装编译环境和代码下载

编译环境具体请查看:https://openwrt.org/docs/guide-developer/build-system/install-buildsystem
SDK对应下载请查看:https://openwrt.org/docs/guide-developer/using_the_sdk

Debian 9.4 Stretch:
sudo apt install build-essential libncurses5-dev gawk git libssl-dev gettext zlib1g-dev swig unzip time

下载SDK并解压

wget https://downloads.openwrt.org/releases/18.06.2/targets/bcm53xx/generic/openwrt-sdk-18.06.2-bcm53xx_gcc-7.3.0_musl_eabi.Linux-x86_64.tar.xz

tar xvf openwrt-sdk-18.06.2-bcm53xx_gcc-7.3.0_musl_eabi.Linux-x86_64.tar.xz

解压完成之后进入SDK然后安装feeds

cd openwrt-sdk-18.06.2-bcm53xx_gcc-7.3.0_musl_eabi.Linux-x86_64

feeds 按照自己的需求来安装即可 (这里我使用小飞机的feeds)

方案一 (小飞机的feeds,如果你是编译小飞机的话使用这个)
git clone https://github.com/AlexZhuo/openwrt-feeds.git package/feeds

方案二 (官方feeds)
./scripts/feeds update -a
./scripts/feeds install -a (这个是全部安装,看自己需求来选择不一定需要全部安装)

安装好feeds之后下载要编译的软件包到SDK中 (以小飞机示例)

git clone https://github.com/AlexZhuo/openwrt-shadowsocksr.git package/shadowsocksr-libev

下载完成后选择软件包并编译

make menuconfig  #选择要编译的包 Network -> shadowsocksr-libev

选择完毕后[exit]退出选[Yes]保存,开始编译

make package/shadowsocksr-libev/compile V=99

编译完成后打开SDK目录下的文件夹 [bin] 找到编译好的 [shadowsocksr-libev.ipk] 扔到openwrt上安装即可!
编译出错及解决方法 (正在收集):

Openwrt SDK编译软件包教程

@byxiaoxie5年前

06/18
22:00
Home

PC微信多开破解教程

微信防撤回:https://www.byxiaoxie.com/?p=428

破解方法 ByXiaoXie.Com

定位到DLL文件[WeChatWin.dll]

方法1:
搜索字符串找到 [WeChat_App_Instance_Identity_Mutex_Name]


方法2:
直接搜索特征码然后把je跳转到函数结束的地址去
74 ?? 66 83 3E ?? 8B C6 75 ?? B8 ?? ?? ?? ?? 50 6A ?? 6A ?? FF 15 ?? ?? ?? ?? 8B F8 32 DB 85 FF 74 ?? FF 15 ?? ?? ?? ?? 3D ?? ?? ?? ?? 75 ?? 57 B3 ?? FF 15 ?? ?? ?? ?? EB ?? 89 3D //该特征码过期

74 ?? 56 6A 00 68 ?? ?? ?? ?? FF 15 ?? ?? ?? ?? 8B F0 85 F6  //新特征码

74 ?? 66 83 3E 00 8B C6 75 ?? B8 ?? ?? ?? ?? 50 6A 00 6A 00  //22-01-24 新特征码 [修改方法不变]
新版本3.2.1.154修改方法:

原型:039B07E7     /74 56         je      short 039B083F
修改后:039B07E7     /EB 56         jmp      short 039B083F

已过期的老版本方法:

原型:0FE973B1  |. /74 08                 je XWeChatWi.0FE973BB
修改跳转地址到:104A5EAE  |> \5F                    pop edi
修改后:0FE973B1     /EB 5B                 jmp XWeChatWi.0FE9740E

保存后即可多开微信!

PC微信多开破解教程

加载中……