首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏信安之路

    安卓 so 文件解析详解

    = sectionHeader.sh_offset; off.symtabsize = sectionHeader.sh_size; break; case 3: if(k == 0) { off.stroffset = sectionHeader.sh_offset; off.strsize = sectionHeader.sh_size; k++; } { off.str2offset = sectionHeader.sh_offset; off.str2size = sectionHeader.sh_size section is to be loaded: 0x%08x\n",sectionHeader.sh_addr); printf(" Offset: 0x%x\n",sectionHeader.sh_offset

    4.5K41发布于 2020-10-30
  • 运用Capstone实现64位进程钩子扫描

    fileHeader; // 标准PE头IMAGE_OPTIONAL_HEADER64* optionalHeader; // 可选PE头IMAGE_SECTION_HEADER* sectionHeader ); // 复制节在文件中所占的内存过去buffer = (LPVOID)((DWORD64)buffer - (sectionHeader + i)->Characteristics & 0x20000000) == 0x20000000){(textInfo + length)->virtualAddress = (sectionHeader + i)->VirtualAddress;(textInfo + length)->pointerToRawData = (sectionHeader + i)->PointerToRawData;( textInfo + length)->size = (sectionHeader + i)->SizeOfRawData;length++;}}return length;}反汇编与扫描反汇编部分通过定义

    55620编辑于 2024-08-14
  • 来自专栏difcareer的技术笔记

    Android平台导入表Hook方式实现[转载]

    然后函数会根据Elf32_ElfHeader的信息遍历每一个SectionHeader,同时判断是否有Elf32_SectionHeader.sh_name与”.got”相等,相等即保存其sh_addr GetElf32StringTabBaseFromfile是实现即是通过Elf头中的e_shoff,e_shstrndx和e_shentsize信息找到so文件中SectionHeader里面的.shstrtab

    1.1K30发布于 2018-08-23
  • 来自专栏万岳科技那些事儿

    直播卖货小程序源码中,商品分类页面是如何实现的

    selectTableIndex] atScrollPosition:UICollectionViewScrollPositionTop animated:YES];         ///让collectionview的滑动回退sectionheader         return;     } CGPoint point = [view convertPoint:CGPointZero toView:self.view];     ///判断是不是SectionHeader         return;     } CGPoint point = [view convertPoint:CGPointZero toView:self.view];     ///判断是不是SectionHeader

    1.6K20发布于 2020-07-22
  • 来自专栏清墨_iOS分享

    iOS 10 ~ iOS 15 tableview 适配(使用注意事项)

    0, height: CGFLOAT_MIN)) 测试结果推断出的结论: UITableViewStyle为Grouped时,tableHeaderView = nil 前提条件下 1.没有实现sectionHeader 或sectionFooter代理(只实现一个也不行),所有系统下tableView顶部会有一个空白 2.同时实现了sectionHeader和sectionFooter代理,iOS13.2以下系统顶部有空白 ,iOS13.2及以上系统顶部无留白 3.同时实现了sectionHeader和sectionFooter代理,并且同时设置了sectionHeader和sectionFooter的预估高度为0,所有系统下

    2.8K20编辑于 2022-11-12
  • 来自专栏HACK学习

    简单的加密壳实现

    memcpy(ptempNewBuffer, pImageBuffer, pOptionHeader->SizeOfHeaders); PIMAGE_SECTION_HEADER ptemp1SectionHeader = 0; n < pPEHeader->NumberOfSections; n++) { memcpy((void*)((DWORD)ptempNewBuffer+ptemp1SectionHeader ->PointerToRawData), (void*)((DWORD)pImageBuffer + ptemp1SectionHeader->VirtualAddress), ptemp1SectionHeader ->SizeOfRawData); //printf("%x\n", ptemp1SectionHeader->SizeOfRawData); ptemp1SectionHeader ++; } *pNewBuffer = ptempNewBuffer; ptemp1SectionHeader = NULL; return FileSize; }

    1.7K20发布于 2021-06-24
  • 来自专栏方亮

    PE文件和COFF文件格式分析——节信息

    IMAGE_SECTION_HEADER ); for ( int i = 0; i < m_FileHeader.NumberOfSections; i++ ) { IMAGE_SECTION_HEADER SectionHeader ; if ( FALSE == SafeCopy( &SectionHeader, lpSectionHeaderStart, unSectionHeaderSize ) ) { m_vecSectionHeaders.push_back( SectionHeader ); lpSectionHeaderStart = (LPBYTE)(lpSectionHeaderStart [1], &SectionHeader.Name[IMAGE_SIZEOF_SHORT_NAME-1]); int nOffsetString FALSE); } } m_vecSectionHeaders.push_back( SectionHeader

    91020发布于 2019-01-16
  • 来自专栏信安之路

    IAT 三连之什么是 IAT?

    VirtualAddress) { IMAGE_DOS_HEADER *dosHeader; IMAGE_NT_HEADERS *ntHeader; IMAGE_SECTION_HEADER *SectionHeader dosHeader->e_lfanew + sizeof(IMAGE_NT_HEADERS)) + i; //判断RVA是否在这个节区之内 if (VirtualAddress>SectionHeader ->VirtualAddress&&VirtualAddress<SectionHeader->VirtualAddress + SectionHeader->SizeOfRawData) { DWORD AposRAV = VirtualAddress - SectionHeader->VirtualAddress; DWORD Offset = SectionHeader->PointerToRawData + AposRAV; return Offset; } } return 0

    1.8K10发布于 2018-08-08
  • 来自专栏FreeBuf

    不传之密:杀毒软件开发之感染型病毒查杀、启发式杀毒

    ) { //DOS头 IMAGE_DOS_HEADER DosHeader; //NT头 IMAGE_NT_HEADERS NtHeader; //节头 IMAGE_SECTION_HEADER SectionHeader for (i = 0; i < numOfSections; i++) { fread(&SectionHeader, sizeof(IMAGE_SECTION_HEADER), 1, pNewFile ); #if DEBUG //打印出调试信息 printf("节的名字:%s\n", SectionHeader.Name); #endif } //增加一个新节前的准备工作 extraLengthAfterAlign + SectionHeader.Misc.VirtualSize,SECTION_ALIGN_MENT); //重新设置VirtualSize newSectionHeader.Misc.VirtualSize + SectionHeader.SizeOfRawData,FILE_ALIGN_MENT); //重新设置SizeOfRawData newSectionHeader.SizeOfRawData

    2.6K20发布于 2019-12-23
  • 来自专栏技术杂记

    EasyAntiCheat 利用将未签名代码注入受保护进程(1)

    PEHeaderSize ); while( SectionCount ) { const PIMAGE_SECTION_HEADER SectionHeader = &SectionHeaders[ SectionCount ]; if ( SectionHeader->SizeOfRawData ) memcpy( &MappedModule[ SectionHeader->VirtualAddress ], &ModuleBuffer[ SectionHeader->PointerToRawData ], SectionHeader->SizeOfRawData ); --SectionCount; } return TRUE

    5.1K380发布于 2021-09-10
  • 来自专栏前端Q

    React 并发 API 实战,这几个例子看懂你就明白了

    setInputValue] = useState('') const [searchQuery, setSearchQuery] = useState('') return (

    <SectionHeader = useState('') const [isPending, startTransition] = useTransition() return (
    <SectionHeader setInputValue] = useState('') const searchQuery = useDeferredValue(inputValue) return (
    <SectionHeader

    53910编辑于 2024-04-15
  • 来自专栏鸿鹄实验室

    浅析syscall

    NtdllLdrEntry->DllBase + ((PIMAGE_DOS_HEADER)NtdllLdrEntry->DllBase)->e_lfanew); PIMAGE_SECTION_HEADER SectionHeader strcmp((char*)SectionHeader[i].Name, ".data")) { DataSectionAddress = (ULONG_PTR) NtdllLdrEntry->DllBase + SectionHeader[i].VirtualAddress; DataSectionSize = SectionHeader

    4.2K61编辑于 2022-02-17
  • 来自专栏正则

    iOS10-iOS15主要适配回顾

    UIBarAppearance 2、tableView 增加sectionHeaderTopPadding属性,默认值是UITableViewAutomaticDimension,可能会使tableView sectionHeader

    1.7K50发布于 2021-11-04
  • 来自专栏salesforce零基础学习

    salesforce 零基础学习(六十)Wizard样式创建数据

    return true; 7 } 8 return false; 9 } 10 </script> 11 <apex:sectionHeader return true; 7 return false; 8 } 9 </script> 10 <apex:sectionHeader return true; 7 return false; 8 } 9 </script> 10 <apex:sectionHeader

    1.1K90发布于 2018-01-05
  • 来自专栏韦弦的偶尔分享

    微信小程序仿APP section header 悬停效果

    sectionHeaderLocationTop: 0, //页面滚动距离 scrollTop: 0, //是否悬停 fixed: false }, 此时我们需要的效果就实现了: sectionHeader

    2.4K20发布于 2018-09-11
  • 来自专栏逆向与安全

    Linux漏洞分析入门笔记-CVE_2018_6323_整型溢出

    3.objdump可以在你不了解程序文件格式的情况下,读取 ELF header, program header table, sectionheader table 还有反汇编等功能。

    1.1K20发布于 2018-12-28
  • 来自专栏iOS逆向与安全

    iOS小技能: tableView section间距失效的解决方案

    tableView setBackgroundColor:k_view_backColor]; } return _tableView; } 1.2 修改 SectionHeader

    1.7K30编辑于 2022-08-22
  • 来自专栏Krryblog

    vue 知识总结

    name:"home", meta:{title:'首页'} }, ] }) 组件懒加载 export default { components: { SectionHeader : () => import('@/components/SectionHeader'), SectionArticle: () => import('@/components/SectionArticle

    1.5K80发布于 2019-04-09
  • 来自专栏正则

    AVKit框架详细解析(三) —— 基于视频播放器的画中画实现(二)

    ( widthDimension: .fractionalWidth(1.0), heightDimension: .estimated(20)) let sectionHeader UICollectionView.elementKindSectionHeader, alignment: .top) section.boundarySupplementaryItems = [sectionHeader

    2.3K10发布于 2021-09-04
  • 来自专栏salesforce零基础学习

    salesforce 零基础学习(二十四)解析csv格式内容

    false" controller="BatchInsertByCsvController" showHeader="false"> 2 <apex:form > 3 <apex:sectionHeader

    1.4K100发布于 2018-01-05
领券