Skip to content

@sskaje

sskaje's blog, study & research on technology

Tag: fake wtmp

Fake Linux Login Log

By @sskaje
Link: https://sskaje.me/2017/01/fake-linux-login-log/

Linux saves its login log as utmp file, you can read more on wikipedia: https://en.wikipedia.org/wiki/Utmp.

Linux uses ‘/var/log/wtmp’ store its success login log, and ‘/var/log/btmp’ bad trials.

I wrote a page parsing utmp/wtmp/btmp file, and another convert linux last command output to utmp file, this is useful if you want to fake login log.

Here are links:
Parse UTMP file: upload your wtmp, btmp, utmp, and read it field by field.
UTMP file to last output: run commands like last -f xxx.
Generate UTMP File from Linux Output: fake your utmp here!

BTW, you can man utmp on linux to read utmp file format.

Fake Linux Login Log by @sskaje: https://sskaje.me/2017/01/fake-linux-login-log/

Incoming search terms:

  • plainsdj
Link to this post!
Author sskajePosted on January 4, 2017Categories Linux, 杂七杂八Tags btmp, clear last login, clear login log, fake login log, fake wtmp, utmp, wtmpLeave a comment on Fake Linux Login Log

Categories

  • Hadoop相关
    • CDH
    • HDFS
    • Hive
    • Impala
    • PrestoDB
    • Shark
    • Spark
  • 学习研究
    • Mallory
    • PHP
    • Protocol
  • 安全
    • PKI
    • 逆向
      • Patch
      • 算法、协议
  • 操作系统相关
    • Android
    • iOS
    • Linux
    • OS X
    • Windows
  • 智能家居
  • 未分类
  • 杂七杂八
    • Integer Factorization
    • IP段
    • MacPorts
    • SSH
    • UBNT
  • 笔记
    • Network
      • DNS
      • IPv6
      • Port Proxy
      • VPN
      • 路由、设备
    • 工具、命令
  • 项目、研究
    • 12306
    • Apple
    • Cloudera Mirror
    • JSON-RPC
    • MQTT
    • PHP-MiTM
    • Rsyslog
    • 微信
    • 迅雷

Recent Posts

  • meilisearch ubuntu systemd
  • 古老壁挂炉接入米家App
  • TL-R470GP-AC v4.0 开启SSH
  • TL-R470GP-AC v4.0 主板图
  • TL-R470GP-AC 解密备份文件
  • 做了个DNS查询工具 & Switch 下载加速
  • Digital Ocean Install Windows 10 2004
  • SonaType Nexus 研究
  • JavaScript DNS-SD
  • ffmpeg add custom header

About me

  • sskaje@bitbucket
  • sskaje@facebook
  • sskaje@github
  • sskaje@twitter
  • sskaje@weibo
  • 不和谐因素 sskaje.blogspot.com

Friends'

  • bianbian coding life
  • Laien's blog
  • Linxinsnow
  • qatang
  • SecNiu
  • Sunshow Life
  • xuyannan's blog
  • 透明de面具

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Pages

  • About Me
  • GSPxy
  • Invitation Codes
  • iOS SDK Archive
  • Resume
@sskaje Proudly powered by WordPress