Raju Pandey

38 papers A* 3A 3B 7Misc 4Journal 10Unranked 11
YearRankTypeTitle / Venue / Authors
2026 J jnl
Wirel. Pers. Commun.
Raju Pandey, Ashim Kumar Biswas, Ujjal Chakraborty, Amit Roy
2024 J jnl
Int. J. Commun. Syst.
Raju Pandey, Ashim Kumar Biswas, Ujjal Chakraborty
2009 conf
CSE (3)
Shaozhi Ye, Shyhtsun Felix Wu, Raju Pandey, Hao Chen
2009 conf
CSE (2)
Joel Koshy, Raju Pandey, Ingwar Wirjawan
2008 J jnl
Ad Hoc Networks
Joel Koshy, Ingwar Wirjawan, Raju Pandey, Yann Ramin
2007 B conf
MASS
Eric Bergstrom, Raju Pandey
2006 J jnl
ACM SIGMOBILE Mob. Comput. Commun. Rev.
Joel Koshy, Raju Pandey
2006 conf
InterSense
Raju Pandey, Joel Koshy
2006 B conf
LCTES
Raju Pandey, Jeffrey Wu
2006 B conf
SECON
Ingwar Wirjawan, Joel Koshy, Raju Pandey, Yann Ramin
2006 B conf
DCOSS
Christopher Nitta, Raju Pandey, Yann Ramin
2005 B conf
EWSN
Joel Koshy, Raju Pandey
2005 Misc conf
SenSys
Joel Koshy, Raju Pandey
2004 conf
SAINT
Michael Haungs, Raju Pandey, Earl T. Barr
2004 A* conf
MobiCom
Lucian Popa, Irina Athanasiu, Costin Raiciu, Raju Pandey, Radu Teodorescu
2002 Misc conf
HiPC
Michael Haungs, Raju Pandey, Earl T. Barr, J. Fritz Barnes
2002 A* conf
USENIX Security Symposium
David S. Peterson, Matt Bishop, Raju Pandey
2002 J jnl
Auton. Agents Multi Agent Syst.
Manoj Lal, Raju Pandey
2002 B conf
COMPSAC
Raju Pandey, Scott Malabarba, Tim Stapko, Brant Hashii
2001 A conf
ICDCS
Earl T. Barr, Raju Pandey, Michael Haungs
2001 J jnl
Int. J. Parallel Program.
Raju Pandey, James C. Browne
2001 Misc conf
UbiComp
Radu Teodorescu, Raju Pandey
2000 B conf
ICCCN
Vijay Ramachandran, Raju Pandey, S.-H. Gary Chan
2000 J jnl
Concurr. Pract. Exp.
Raju Pandey, Brant Hashii
2000 A conf
ECOOP
Scott Malabarba, Raju Pandey, Jeff Gragg, Earl T. Barr, J. Fritz Barnes
2000 conf
IPDPS Workshops
Steven Samorodin, Raju Pandey
2000 J jnl
Comput. Networks
Brant Hashii, Scott Malabarba, Raju Pandey, Matt Bishop
1999 conf
ASA/MA
Raju Pandey, Manoj Lal
1999 conf
USENIX Symposium on Internet Technologies and Systems
J. Fritz Barnes, Raju Pandey
1999 A conf
ECOOP
Raju Pandey, Brant Hashii
1998 J jnl
IEEE Internet Comput.
Brant Hashii, Manoj Lal, Raju Pandey, Steven Samorodin
1998 J jnl
CoRR
James A. Hoagland, Raju Pandey, Karl N. Levitt
1998 A* conf
PODC
Raju Pandey, J. Fritz Barnes, Ronald Ollsson
1996 Misc conf
PDPTA
Raju Pandey, James C. Browne
1996 conf
IPPS
Raju Pandey, James C. Browne
1996 conf
Euro-Par, Vol. I
Raju Pandey, James C. Browne
1994 conf
ICCL
Raju Pandey, James C. Browne
1993 conf
LCPC
Raju Pandey, James C. Browne
redb/extractors/js_extractors/js_content.py
← Index redb/extractors/js_extractors/js_content.py python
"""Persists raw + normalised text into the generic `code_text_content` table.

Reads the raw source and the deobfuscation result directly from the shared
JSContext so no extra compute happens here — both values are computed once
per sample (the source at JSContext construction, the deobfuscation lazily
on first access) and reused by any extractor that needs them.

`text_normalized` is left NULL when the deobfuscation pass produced no
output, so analysts can distinguish "we tried and got nothing" from
"normalisation succeeded".
"""

import inspect
from datetime import datetime, timezone
from typing import Any

from redb.extractors.enum import Tag
from redb.extractors.js_extractor import JSExtractor


class JSContentExtractor(JSExtractor):

    def __init__(
        self, filepath, log, exporters=None, index_prefix=None,
        known_benign=False, known_malicious=False, source=None, context=None,
    ):
        super().__init__(
            filepath, log, exporters, index_prefix,
            known_benign, known_malicious, source, context=context,
        )
        self.content_row = None
        self.log.debug(inspect.currentframe().f_code.co_name)

    def tag(self):
        return Tag.JS_CONTENT.value

    def extract(self):
        src = self.js_source
        if not src:
            return None

        deobfuscated, normalizer_used = self._context.deobfuscated

        self.content_row = {
            "content_type": self._context.content_type,
            "text_raw": src,
            "text_normalized": deobfuscated,  # may be None
            "normalizer_used": normalizer_used,  # may be None
        }
        return self.content_row

    def prepare_export_data(self, exporter_type: str) -> Any:
        if exporter_type != "ClickHouseExporter":
            return None
        if not self.content_row:
            return None

        r = self.content_row
        data = [[
            self.sha256,
            r["content_type"],
            r["text_raw"],
            r["text_normalized"],
            r["normalizer_used"],
            datetime.now(timezone.utc),
        ]]

        column_names = [
            "sha256",
            "content_type",
            "text_raw",
            "text_normalized",
            "normalizer_used",
            "analysis_date",
        ]

        column_type_names = [
            "FixedString(64)",
            "LowCardinality(String)",
            "String",
            "Nullable(String)",
            "Nullable(String)",
            "DateTime64(3, 'UTC')",
        ]

        return (data, column_names, column_type_names)

    def get_clickhouse_table(self) -> str:
        return "code_text_content"