V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  nozer  ›  全部回复第 1 页 / 共 8 页
回复总数  151
1  2  3  4  5  6  7  8  
我记得小程序有个 formid ,是微信给生成的,你接口要一个这个 formid 然后验证他的有效性。

我以前试图 crack 过一个小程序,然后遇到这个问题,没解决,放弃了。
@wm5d8b
@yaott2020 see the before
https://i.imgur.com/YUlXAyv.jpg

喜欢这个主题的朋友参考: https://github.com/vinceliuice/MacVentura-kde

这位 vinceliuice 是位很厉害的设计师,他有好多 kde 和 gnome 主题,都非常好看。

我用的图标是用的这套(也可以用配套的 Mac 图标):
https://github.com/yeyushengfan258/Reversal-icon-theme

底部的 Dock 是 KDE 默认的 panel 。
https://i.imgur.com/kEH3D4f.png
满足一下各位的好奇心,试了一下。
连接速度不是很稳定,一会让 80MB ,一会儿 20MB , 一会儿 1MB 。
5G 频段无法连接,只能连 2.4G
@retanoj
@y1y1
@nyxsonsleep
@xwchaoa
@fox0001
感觉真相了,就是 Linux 吧把 xbox 无线接收器,识别成了无线网卡。
6
@NessajCN -v 信息太多,发布出来,我就之贴这个 xbox 设备了。

Bus 001 Device 002: ID 045e:02fe Microsoft Corp. XBOX ACC
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x045e Microsoft Corp.
idProduct 0x02fe
bcdDevice 1.00
iManufacturer 1 Microsoft Inc.
iProduct 2 XBOX ACC
iSerial 3 020305
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x004a
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 2 XBOX ACC
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 8
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 2 XBOX ACC
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x08 EP 8 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x04 EP 4 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x06 EP 6 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x07 EP 7 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x09 EP 9 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x000c
bNumDeviceCaps 1
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x0000f41e
BESL Link Power Management (LPM) Supported
BESL value 1024 us
Deep BESL value 61440 us
Device Status: 0x0002
(Bus Powered)
Remote Wakeup Enabled
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 28da:1504 JZ JZ-KB01 (键盘)
Bus 001 Device 003: ID 046d:c08b Logitech, Inc. G502 SE HERO Gaming Mouse (鼠标)
Bus 001 Device 002: ID 045e:02fe Microsoft Corp. XBOX ACC ( Xbox 无线接收器)
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
@slrey 哎,等等。。。 我确实插了一个 xbox 无线接收器。
@choury

https://i.miji.bid/2023/08/08/2514a2afa78d0f2a8c524b53482698b4.png

ls /sys/class/net/wlp0s20f0u1/ -lh
总计 0
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 addr_assign_type
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 address
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 addr_len
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 broadcast
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 carrier
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 carrier_changes
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 carrier_down_count
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 carrier_up_count
lrwxrwxrwx 1 root root 0 8 月 8 日 14:09 device -> ../../../1-1:1.0
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 dev_id
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 dev_port
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 dormant
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 duplex
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 flags
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 gro_flush_timeout
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 ifalias
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 ifindex
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 iflink
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 link_mode
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 mtu
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 name_assign_type
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 napi_defer_hard_irqs
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 netdev_group
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 operstate
lrwxrwxrwx 1 root root 0 8 月 8 日 14:09 phy80211 -> ../../ieee80211/phy0
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 phys_port_id
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 phys_port_name
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 phys_switch_id
drwxr-xr-x 2 root root 0 8 月 8 日 16:36 power
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 proto_down
drwxr-xr-x 4 root root 0 8 月 8 日 16:36 queues
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:12 speed
drwxr-xr-x 2 root root 0 8 月 8 日 16:36 statistics
lrwxrwxrwx 1 root root 0 8 月 8 日 14:09 subsystem -> ../../../../../../../../class/net
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 testing
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 threaded
-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 tx_queue_len
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 type
-rw-r--r-- 1 root root 4.0K 8 月 8 日 14:09 uevent
drwxr-xr-x 2 root root 0 8 月 8 日 14:12 wireless

~~~~~~~~~~~~~~~~~~~~~~~

ls /sys/class/net/wlp0s20f0u1/device/ -lh

-rw-r--r-- 1 root root 4.0K 8 月 8 日 17:26 authorized
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 bAlternateSetting
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 bInterfaceClass
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 bInterfaceNumber
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 bInterfaceProtocol
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 bInterfaceSubClass
-r--r--r-- 1 root root 4.0K 8 月 8 日 14:09 bNumEndpoints
lrwxrwxrwx 1 root root 0 8 月 8 日 14:09 driver -> ../../../../../../bus/usb/drivers/mt76x2u
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_04
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_05
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_06
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_07
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_08
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_09
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_84
drwxr-xr-x 3 root root 0 8 月 8 日 16:36 ep_85
lrwxrwxrwx 1 root root 0 8 月 8 日 17:26 firmware_node -> ../../../../../LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:4c/device:4d/device:4e
drwxr-xr-x 3 root root 0 8 月 8 日 14:09 ieee80211
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 interface
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 modalias
drwxr-xr-x 3 root root 0 8 月 8 日 14:09 net
drwxr-xr-x 2 root root 0 8 月 8 日 16:36 physical_location
drwxr-xr-x 2 root root 0 8 月 8 日 16:36 power
lrwxrwxrwx 1 root root 0 8 月 8 日 14:09 subsystem -> ../../../../../../bus/usb
-r--r--r-- 1 root root 4.0K 8 月 8 日 17:26 supports_autosuspend
-rw-r--r-- 1 root root 4.0K 8 月 8 日 14:09 uevent
![f9412f4e9965001a3da8cfb9ca2acfb3.png]( https://i.miji.bid/2023/08/08/f9412f4e9965001a3da8cfb9ca2acfb3.png)
@NessajCN

sudo lspci -k

0:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] 8th Gen Core Processor Host Bridge/DRAM Registers
Kernel driver in use: skl_uncore
lspci: Unable to load libkmod resources: error -2
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
Subsystem: Micro-Star International Co., Ltd. [MSI] 6th-10th Gen Core Processor PCIe Controller (x16)
Kernel driver in use: pcieport
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH Thermal Controller
Kernel driver in use: intel_pch_thermal
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH USB 3.1 xHCI Host Controller
Kernel driver in use: xhci_hcd
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
DeviceName: Onboard - Other
Subsystem: Intel Corporation Cannon Lake PCH Shared SRAM
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH HECI Controller
Kernel driver in use: mei_me
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
DeviceName: Onboard - SATA
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH SATA AHCI Controller
Kernel driver in use: ahci
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
Subsystem: Intel Corporation Cannon Lake PCH PCI Express Root Port
Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH PCI Express Root Port
Kernel driver in use: pcieport
00:1f.0 ISA bridge: Intel Corporation Device a308 (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 7b23
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
DeviceName: Onboard - Sound
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH cAVS
Kernel driver in use: snd_hda_intel
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH SMBus Controller
Kernel driver in use: i801_smbus
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
DeviceName: Onboard - Other
Subsystem: Micro-Star International Co., Ltd. [MSI] Cannon Lake PCH SPI Controller
Kernel driver in use: intel-spi
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
DeviceName: Onboard - Ethernet
Subsystem: Micro-Star International Co., Ltd. [MSI] Ethernet Connection (7) I219-V
Kernel driver in use: e1000e
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070 Ti] (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GA104 [GeForce RTX 3070 Ti]
Kernel driver in use: nvidia
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] GA104 High Definition Audio Controller
Kernel driver in use: snd_hda_intel
02:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1001 (rev 01)
Subsystem: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1001
Kernel driver in use: nvme
03:00.0 Non-Volatile memory controller: INNOGRIT Corporation Device 5216 (rev 01)
Subsystem: INNOGRIT Corporation Device 5216
Kernel driver in use: nvme
@ho121 可是,别的操作系统都不支持无线?
ip addr

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:d8:61:8b:2a:e9 brd ff:ff:ff:ff:ff:ff
altname enp0s31f6
inet 192.168.2.10/24 brd 192.168.2.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
inet6 fe80::bf6b:bced:af2f:4913/64 scope link noprefixroute
valid_lft forever preferred_lft forever
3: wlp0s20f0u1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether fa:36:46:25:21:23 brd ff:ff:ff:ff:ff:ff permaddr 6c:5d:3a:10:89:15


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

sudo lspci


00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:12.0 Signal processing controller: Intel Corporation Cannon Lake PCH Thermal Controller (rev 10)
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1b.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #21 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Cannon Lake PCH PCI Express Root Port #9 (rev f0)
00:1f.0 ISA bridge: Intel Corporation Device a308 (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-V (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3070 Ti] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GA104 High Definition Audio Controller (rev a1)
02:00.0 Non-Volatile memory controller: MAXIO Technology (Hangzhou) Ltd. NVMe SSD Controller MAP1001 (rev 01)
03:00.0 Non-Volatile memory controller: INNOGRIT Corporation Device 5216 (rev 01)
2021-01-20 17:56:59 +08:00
回复了 kaka6 创建的主题 程序员 如何灭掉 360 右下角弹窗广告
你一个编程的,居然依赖这些软件,我真是搞不懂为什么。
@huangya 太感谢了! 搞懂了,谢谢。
@huangya 真的可以了,问题解决。原因应该是跟前面的猜测一致,但是我想请教下,现在的规则是这样的:
iptables -t nat -A PREROUTING -p udp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -A PREROUTING -p tcp --dport 53 -j REDIRECT --to-ports 53
iptables -t nat -I POSTROUTING -j MASQUERADE
iptables -t nat -I POSTROUTING 1 -d 10.8.0.0/24 -j ACCEPT


就是说,发送到 10.8.0.0/24 的包采用的动作是 ACCEPT,但是这里并没有 return,为何就可以产生效果呢?
iptables 规则的匹配不是从前到后依次匹配,除非无法匹配,或者 return 才会终止匹配后面的规则。

这个地方,ACCEPT 后,并没有 return,那不是最后还是会匹配到 MASQUERADE 上去,导致数据包源地址发生改变?
@huangya 很感谢。PC 上设置静态路由可以解决问题。 但是路由器上设置 iptables 规则没什么效果。 抓包我也抓了下,但是水平有限研究不出来啥。
1  2  3  4  5  6  7  8  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2559 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms · UTC 12:09 · PVG 20:09 · LAX 05:09 · JFK 08:09
Developed with CodeLauncher
♥ Do have faith in what you're doing.